Skip to content

Commit c26d08f

Browse files
committedOct 26, 2021
feat(oslogin): update the api
#### oslogin:v1alpha The following keys were added: - resources.users.resources.sshPublicKey.methods.create (Total Keys: 12)
1 parent ff7bf38 commit c26d08f

File tree

5 files changed

+162
-3
lines changed

5 files changed

+162
-3
lines changed
 

‎docs/dyn/oslogin_v1alpha.users.html

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the projects Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="oslogin_v1alpha.users.sshPublicKey.html">sshPublicKey()</a></code>
84+
</p>
85+
<p class="firstline">Returns the sshPublicKey Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="oslogin_v1alpha.users.sshPublicKeys.html">sshPublicKeys()</a></code>
8489
</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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.sshPublicKey.html">sshPublicKey</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="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Create an SSH public key</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="create">create(parent, body=None, x__xgafv=None)</code>
91+
<pre>Create an SSH public key
92+
93+
Args:
94+
parent: string, Required. The unique ID for the user in format `users/{user}`. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # The SSH public key information associated with a Google account.
99+
&quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
100+
&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
101+
&quot;key&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by RFC4253 section 6.6.
102+
&quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
103+
}
104+
105+
x__xgafv: string, V1 error format.
106+
Allowed values
107+
1 - v1 error format
108+
2 - v2 error format
109+
110+
Returns:
111+
An object of the form:
112+
113+
{ # The SSH public key information associated with a Google account.
114+
&quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
115+
&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
116+
&quot;key&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by RFC4253 section 6.6.
117+
&quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
118+
}</pre>
119+
</div>
120+
121+
</body></html>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
}
315315
}
316316
},
317-
"revision": "20211002",
317+
"revision": "20211015",
318318
"rootUrl": "https://oslogin.googleapis.com/",
319319
"schemas": {
320320
"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
},
283+
"sshPublicKey": {
284+
"methods": {
285+
"create": {
286+
"description": "Create an SSH public key",
287+
"flatPath": "v1alpha/users/{usersId}/sshPublicKey",
288+
"httpMethod": "POST",
289+
"id": "oslogin.users.sshPublicKey.create",
290+
"parameterOrder": [
291+
"parent"
292+
],
293+
"parameters": {
294+
"parent": {
295+
"description": "Required. The unique ID for the user in format `users/{user}`.",
296+
"location": "path",
297+
"pattern": "^users/[^/]+$",
298+
"required": true,
299+
"type": "string"
300+
}
301+
},
302+
"path": "v1alpha/{+parent}/sshPublicKey",
303+
"request": {
304+
"$ref": "SshPublicKey"
305+
},
306+
"response": {
307+
"$ref": "SshPublicKey"
308+
},
309+
"scopes": [
310+
"https://www.googleapis.com/auth/cloud-platform",
311+
"https://www.googleapis.com/auth/compute"
312+
]
313+
}
314+
}
315+
},
283316
"sshPublicKeys": {
284317
"methods": {
285318
"delete": {
@@ -374,7 +407,7 @@
374407
}
375408
}
376409
},
377-
"revision": "20211002",
410+
"revision": "20211015",
378411
"rootUrl": "https://oslogin.googleapis.com/",
379412
"schemas": {
380413
"Empty": {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
}
345345
}
346346
},
347-
"revision": "20211002",
347+
"revision": "20211015",
348348
"rootUrl": "https://oslogin.googleapis.com/",
349349
"schemas": {
350350
"Empty": {

0 commit comments

Comments
 (0)