Skip to content

Commit 3a26ea7

Browse files
feat(notebooks): update the api
#### notebooks:v1 The following keys were added: - resources.projects.resources.locations.resources.runtimes.methods.create.parameters.requestId (Total Keys: 2) - resources.projects.resources.locations.resources.runtimes.methods.delete.parameters.requestId (Total Keys: 2) - schemas.ResetRuntimeRequest.properties.requestId.type (Total Keys: 1) - schemas.StartRuntimeRequest.properties.requestId.type (Total Keys: 1) - schemas.StopRuntimeRequest.properties.requestId.type (Total Keys: 1) - schemas.SwitchRuntimeRequest.properties.requestId.type (Total Keys: 1)
1 parent 3d03ad1 commit 3a26ea7

File tree

2 files changed

+43
-8
lines changed

2 files changed

+43
-8
lines changed

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#create">create(parent, body=None, runtimeId=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#create">create(parent, body=None, requestId=None, runtimeId=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Creates a new Runtime in a given project and location.</p>
8383
<p class="toc_element">
84-
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
84+
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a single Runtime.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
@@ -123,7 +123,7 @@ <h3>Method Details</h3>
123123
</div>
124124

125125
<div class="method">
126-
<code class="details" id="create">create(parent, body=None, runtimeId=None, x__xgafv=None)</code>
126+
<code class="details" id="create">create(parent, body=None, requestId=None, runtimeId=None, x__xgafv=None)</code>
127127
<pre>Creates a new Runtime in a given project and location.
128128

129129
Args:
@@ -238,6 +238,7 @@ <h3>Method Details</h3>
238238
},
239239
}
240240

241+
requestId: string, Idempotent request UUID.
241242
runtimeId: string, Required. User-defined unique ID of this Runtime.
242243
x__xgafv: string, V1 error format.
243244
Allowed values
@@ -269,11 +270,12 @@ <h3>Method Details</h3>
269270
</div>
270271

271272
<div class="method">
272-
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
273+
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
273274
<pre>Deletes a single Runtime.
274275

275276
Args:
276277
name: string, Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}` (required)
278+
requestId: string, Idempotent request UUID.
277279
x__xgafv: string, V1 error format.
278280
Allowed values
279281
1 - v1 error format
@@ -665,6 +667,7 @@ <h3>Method Details</h3>
665667
The object takes the form of:
666668

667669
{ # Request for resetting a Managed Notebook Runtime.
670+
&quot;requestId&quot;: &quot;A String&quot;, # Idempotent request UUID.
668671
}
669672

670673
x__xgafv: string, V1 error format.
@@ -764,6 +767,7 @@ <h3>Method Details</h3>
764767
The object takes the form of:
765768

766769
{ # Request for starting a Managed Notebook Runtime.
770+
&quot;requestId&quot;: &quot;A String&quot;, # Idempotent request UUID.
767771
}
768772

769773
x__xgafv: string, V1 error format.
@@ -805,6 +809,7 @@ <h3>Method Details</h3>
805809
The object takes the form of:
806810

807811
{ # Request for stopping a Managed Notebook Runtime.
812+
&quot;requestId&quot;: &quot;A String&quot;, # Idempotent request UUID.
808813
}
809814

810815
x__xgafv: string, V1 error format.
@@ -851,6 +856,7 @@ <h3>Method Details</h3>
851856
&quot;type&quot;: &quot;A String&quot;, # Accelerator model.
852857
},
853858
&quot;machineType&quot;: &quot;A String&quot;, # machine type.
859+
&quot;requestId&quot;: &quot;A String&quot;, # Idempotent request UUID.
854860
}
855861

856862
x__xgafv: string, V1 error format.

googleapiclient/discovery_cache/documents/notebooks.v1.json

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,11 @@
12451245
"required": true,
12461246
"type": "string"
12471247
},
1248+
"requestId": {
1249+
"description": "Idempotent request UUID.",
1250+
"location": "query",
1251+
"type": "string"
1252+
},
12481253
"runtimeId": {
12491254
"description": "Required. User-defined unique ID of this Runtime.",
12501255
"location": "query",
@@ -1277,6 +1282,11 @@
12771282
"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$",
12781283
"required": true,
12791284
"type": "string"
1285+
},
1286+
"requestId": {
1287+
"description": "Idempotent request UUID.",
1288+
"location": "query",
1289+
"type": "string"
12801290
}
12811291
},
12821292
"path": "v1/{+name}",
@@ -1743,7 +1753,7 @@
17431753
}
17441754
}
17451755
},
1746-
"revision": "20220224",
1756+
"revision": "20220303",
17471757
"rootUrl": "https://notebooks.googleapis.com/",
17481758
"schemas": {
17491759
"AcceleratorConfig": {
@@ -3033,7 +3043,12 @@
30333043
"ResetRuntimeRequest": {
30343044
"description": "Request for resetting a Managed Notebook Runtime.",
30353045
"id": "ResetRuntimeRequest",
3036-
"properties": {},
3046+
"properties": {
3047+
"requestId": {
3048+
"description": "Idempotent request UUID.",
3049+
"type": "string"
3050+
}
3051+
},
30373052
"type": "object"
30383053
},
30393054
"RollbackInstanceRequest": {
@@ -3521,7 +3536,12 @@
35213536
"StartRuntimeRequest": {
35223537
"description": "Request for starting a Managed Notebook Runtime.",
35233538
"id": "StartRuntimeRequest",
3524-
"properties": {},
3539+
"properties": {
3540+
"requestId": {
3541+
"description": "Idempotent request UUID.",
3542+
"type": "string"
3543+
}
3544+
},
35253545
"type": "object"
35263546
},
35273547
"Status": {
@@ -3560,7 +3580,12 @@
35603580
"StopRuntimeRequest": {
35613581
"description": "Request for stopping a Managed Notebook Runtime.",
35623582
"id": "StopRuntimeRequest",
3563-
"properties": {},
3583+
"properties": {
3584+
"requestId": {
3585+
"description": "Idempotent request UUID.",
3586+
"type": "string"
3587+
}
3588+
},
35643589
"type": "object"
35653590
},
35663591
"SwitchRuntimeRequest": {
@@ -3574,6 +3599,10 @@
35743599
"machineType": {
35753600
"description": "machine type.",
35763601
"type": "string"
3602+
},
3603+
"requestId": {
3604+
"description": "Idempotent request UUID.",
3605+
"type": "string"
35773606
}
35783607
},
35793608
"type": "object"

0 commit comments

Comments
 (0)