Skip to content

Commit 1ba23c6

Browse files
feat(oslogin): update the api
#### oslogin:v1 The following keys were added: - resources.users.resources.sshPublicKey.methods.create (Total Keys: 12) #### oslogin:v1beta The following keys were added: - resources.users.resources.sshPublicKey.methods.create (Total Keys: 12)
1 parent 972e716 commit 1ba23c6

File tree

7 files changed

+321
-3
lines changed

7 files changed

+321
-3
lines changed

docs/dyn/oslogin_v1.users.html

Lines changed: 5 additions & 0 deletions
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_v1.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_v1.users.sshPublicKeys.html">sshPublicKeys()</a></code>
8489
</p>
Lines changed: 121 additions & 0 deletions
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_v1.html">Cloud OS Login API</a> . <a href="oslogin_v1.users.html">users</a> . <a href="oslogin_v1.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>

docs/dyn/oslogin_v1beta.users.html

Lines changed: 5 additions & 0 deletions
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_v1beta.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_v1beta.users.sshPublicKeys.html">sshPublicKeys()</a></code>
8489
</p>
Lines changed: 121 additions & 0 deletions
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_v1beta.html">Cloud OS Login API</a> . <a href="oslogin_v1beta.users.html">users</a> . <a href="oslogin_v1beta.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

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,39 @@
220220
}
221221
}
222222
},
223+
"sshPublicKey": {
224+
"methods": {
225+
"create": {
226+
"description": "Create an SSH public key",
227+
"flatPath": "v1/users/{usersId}/sshPublicKey",
228+
"httpMethod": "POST",
229+
"id": "oslogin.users.sshPublicKey.create",
230+
"parameterOrder": [
231+
"parent"
232+
],
233+
"parameters": {
234+
"parent": {
235+
"description": "Required. The unique ID for the user in format `users/{user}`.",
236+
"location": "path",
237+
"pattern": "^users/[^/]+$",
238+
"required": true,
239+
"type": "string"
240+
}
241+
},
242+
"path": "v1/{+parent}/sshPublicKey",
243+
"request": {
244+
"$ref": "SshPublicKey"
245+
},
246+
"response": {
247+
"$ref": "SshPublicKey"
248+
},
249+
"scopes": [
250+
"https://www.googleapis.com/auth/cloud-platform",
251+
"https://www.googleapis.com/auth/compute"
252+
]
253+
}
254+
}
255+
},
223256
"sshPublicKeys": {
224257
"methods": {
225258
"delete": {
@@ -314,7 +347,7 @@
314347
}
315348
}
316349
},
317-
"revision": "20211015",
350+
"revision": "20211022",
318351
"rootUrl": "https://oslogin.googleapis.com/",
319352
"schemas": {
320353
"Empty": {

googleapiclient/discovery_cache/documents/oslogin.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
}
408408
}
409409
},
410-
"revision": "20211015",
410+
"revision": "20211022",
411411
"rootUrl": "https://oslogin.googleapis.com/",
412412
"schemas": {
413413
"Empty": {

googleapiclient/discovery_cache/documents/oslogin.v1beta.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,39 @@
250250
}
251251
}
252252
},
253+
"sshPublicKey": {
254+
"methods": {
255+
"create": {
256+
"description": "Create an SSH public key",
257+
"flatPath": "v1beta/users/{usersId}/sshPublicKey",
258+
"httpMethod": "POST",
259+
"id": "oslogin.users.sshPublicKey.create",
260+
"parameterOrder": [
261+
"parent"
262+
],
263+
"parameters": {
264+
"parent": {
265+
"description": "Required. The unique ID for the user in format `users/{user}`.",
266+
"location": "path",
267+
"pattern": "^users/[^/]+$",
268+
"required": true,
269+
"type": "string"
270+
}
271+
},
272+
"path": "v1beta/{+parent}/sshPublicKey",
273+
"request": {
274+
"$ref": "SshPublicKey"
275+
},
276+
"response": {
277+
"$ref": "SshPublicKey"
278+
},
279+
"scopes": [
280+
"https://www.googleapis.com/auth/cloud-platform",
281+
"https://www.googleapis.com/auth/compute"
282+
]
283+
}
284+
}
285+
},
253286
"sshPublicKeys": {
254287
"methods": {
255288
"delete": {
@@ -344,7 +377,7 @@
344377
}
345378
}
346379
},
347-
"revision": "20211015",
380+
"revision": "20211022",
348381
"rootUrl": "https://oslogin.googleapis.com/",
349382
"schemas": {
350383
"Empty": {

0 commit comments

Comments
 (0)