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 3d789c8

Browse files
committedOct 10, 2023
feat(oslogin): update the api
#### oslogin:v1alpha The following keys were added: - resources.users.resources.projects.resources.locations.methods.signSshPublicKey (Total Keys: 12) #### oslogin:v1beta The following keys were added: - resources.users.resources.projects.resources.locations.methods.signSshPublicKey (Total Keys: 12)
1 parent 791f7a9 commit 3d789c8

7 files changed

+309
-3
lines changed
 

‎docs/dyn/oslogin_v1alpha.users.projects.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="oslogin_v1alpha.html">Cloud OS Login API</a> . <a href="oslogin_v1alpha.users.html">users</a> . <a href="oslogin_v1alpha.users.projects.html">projects</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="oslogin_v1alpha.users.projects.locations.html">locations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the locations Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="oslogin_v1alpha.users.projects.zones.html">zones()</a></code>
7984
</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="oslogin_v1alpha.html">Cloud OS Login API</a> . <a href="oslogin_v1alpha.users.html">users</a> . <a href="oslogin_v1alpha.users.projects.html">projects</a> . <a href="oslogin_v1alpha.users.projects.locations.html">locations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#signSshPublicKey">signSshPublicKey(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="signSshPublicKey">signSshPublicKey(parent, body=None, x__xgafv=None)</code>
91+
<pre>Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.
92+
93+
Args:
94+
parent: string, The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{
99+
&quot;sshPublicKey&quot;: &quot;A String&quot;, # The SSH public key to sign.
100+
}
101+
102+
x__xgafv: string, V1 error format.
103+
Allowed values
104+
1 - v1 error format
105+
2 - v2 error format
106+
107+
Returns:
108+
An object of the form:
109+
110+
{
111+
&quot;signedSshPublicKey&quot;: &quot;A String&quot;, # The signed SSH public key to use in the SSH handshake.
112+
}</pre>
113+
</div>
114+
115+
</body></html>

‎docs/dyn/oslogin_v1beta.users.projects.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="oslogin_v1beta.html">Cloud OS Login API</a> . <a href="oslogin_v1beta.users.html">users</a> . <a href="oslogin_v1beta.users.projects.html">projects</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="oslogin_v1beta.users.projects.locations.html">locations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the locations Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="oslogin_v1beta.users.projects.zones.html">zones()</a></code>
7984
</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="oslogin_v1beta.html">Cloud OS Login API</a> . <a href="oslogin_v1beta.users.html">users</a> . <a href="oslogin_v1beta.users.projects.html">projects</a> . <a href="oslogin_v1beta.users.projects.locations.html">locations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#signSshPublicKey">signSshPublicKey(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Signs an SSH public key for a user to authenticate to an instance.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="signSshPublicKey">signSshPublicKey(parent, body=None, x__xgafv=None)</code>
91+
<pre>Signs an SSH public key for a user to authenticate to an instance.
92+
93+
Args:
94+
parent: string, The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{
99+
&quot;sshPublicKey&quot;: &quot;A String&quot;, # The SSH public key to sign.
100+
}
101+
102+
x__xgafv: string, V1 error format.
103+
Allowed values
104+
1 - v1 error format
105+
2 - v2 error format
106+
107+
Returns:
108+
An object of the form:
109+
110+
{
111+
&quot;signedSshPublicKey&quot;: &quot;A String&quot;, # The signed SSH public key to use in the SSH handshake.
112+
}</pre>
113+
</div>
114+
115+
</body></html>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
}
344344
}
345345
},
346-
"revision": "20230924",
346+
"revision": "20231001",
347347
"rootUrl": "https://oslogin.googleapis.com/",
348348
"schemas": {
349349
"Empty": {

‎googleapiclient/discovery_cache/documents/oslogin.v1alpha.json

+34-1
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,39 @@
280280
}
281281
},
282282
"resources": {
283+
"locations": {
284+
"methods": {
285+
"signSshPublicKey": {
286+
"description": "Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.",
287+
"flatPath": "v1alpha/users/{usersId}/projects/{projectsId}/locations/{locationsId}:signSshPublicKey",
288+
"httpMethod": "POST",
289+
"id": "oslogin.users.projects.locations.signSshPublicKey",
290+
"parameterOrder": [
291+
"parent"
292+
],
293+
"parameters": {
294+
"parent": {
295+
"description": "The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.",
296+
"location": "path",
297+
"pattern": "^users/[^/]+/projects/[^/]+/locations/[^/]+$",
298+
"required": true,
299+
"type": "string"
300+
}
301+
},
302+
"path": "v1alpha/{+parent}:signSshPublicKey",
303+
"request": {
304+
"$ref": "SignSshPublicKeyRequest"
305+
},
306+
"response": {
307+
"$ref": "SignSshPublicKeyResponse"
308+
},
309+
"scopes": [
310+
"https://www.googleapis.com/auth/cloud-platform",
311+
"https://www.googleapis.com/auth/compute"
312+
]
313+
}
314+
}
315+
},
283316
"zones": {
284317
"methods": {
285318
"signSshPublicKey": {
@@ -438,7 +471,7 @@
438471
}
439472
}
440473
},
441-
"revision": "20230924",
474+
"revision": "20231001",
442475
"rootUrl": "https://oslogin.googleapis.com/",
443476
"schemas": {
444477
"Empty": {

‎googleapiclient/discovery_cache/documents/oslogin.v1beta.json

+34-1
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,39 @@
250250
}
251251
},
252252
"resources": {
253+
"locations": {
254+
"methods": {
255+
"signSshPublicKey": {
256+
"description": "Signs an SSH public key for a user to authenticate to an instance.",
257+
"flatPath": "v1beta/users/{usersId}/projects/{projectsId}/locations/{locationsId}:signSshPublicKey",
258+
"httpMethod": "POST",
259+
"id": "oslogin.users.projects.locations.signSshPublicKey",
260+
"parameterOrder": [
261+
"parent"
262+
],
263+
"parameters": {
264+
"parent": {
265+
"description": "The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.",
266+
"location": "path",
267+
"pattern": "^users/[^/]+/projects/[^/]+/locations/[^/]+$",
268+
"required": true,
269+
"type": "string"
270+
}
271+
},
272+
"path": "v1beta/{+parent}:signSshPublicKey",
273+
"request": {
274+
"$ref": "SignSshPublicKeyRequest"
275+
},
276+
"response": {
277+
"$ref": "SignSshPublicKeyResponse"
278+
},
279+
"scopes": [
280+
"https://www.googleapis.com/auth/cloud-platform",
281+
"https://www.googleapis.com/auth/compute"
282+
]
283+
}
284+
}
285+
},
253286
"zones": {
254287
"methods": {
255288
"signSshPublicKey": {
@@ -408,7 +441,7 @@
408441
}
409442
}
410443
},
411-
"revision": "20230924",
444+
"revision": "20231001",
412445
"rootUrl": "https://oslogin.googleapis.com/",
413446
"schemas": {
414447
"Empty": {

0 commit comments

Comments
 (0)
Please sign in to comment.