Debian Codegraph @

docs/dyn/oslogin_v1.users.sshPublicKeys.html

raw
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.sshPublicKeys.html">sshPublicKeys</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 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes an SSH public key.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves an SSH public key.</p>
89 <p class="toc_element">
90 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Updates an SSH public key and returns the profile information. This method supports patch semantics.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
100 <pre>Create an SSH public key
101
102 Args:
103 parent: string, Required. The unique ID for the user in format `users/{user}`. (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # The SSH public key information associated with a Google account.
108 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
109 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
110 &quot;key&quot;: &quot;A String&quot;, # Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
111 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
112 }
113
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # The SSH public key information associated with a Google account.
123 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
124 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
125 &quot;key&quot;: &quot;A String&quot;, # Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
126 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
127 }</pre>
128 </div>
129
130 <div class="method">
131 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
132 <pre>Deletes an SSH public key.
133
134 Args:
135 name: string, Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`. (required)
136 x__xgafv: string, V1 error format.
137 Allowed values
138 1 - v1 error format
139 2 - v2 error format
140
141 Returns:
142 An object of the form:
143
144 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
145 }</pre>
146 </div>
147
148 <div class="method">
149 <code class="details" id="get">get(name, x__xgafv=None)</code>
150 <pre>Retrieves an SSH public key.
151
152 Args:
153 name: string, Required. The fingerprint of the public key to retrieve. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`. (required)
154 x__xgafv: string, V1 error format.
155 Allowed values
156 1 - v1 error format
157 2 - v2 error format
158
159 Returns:
160 An object of the form:
161
162 { # The SSH public key information associated with a Google account.
163 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
164 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
165 &quot;key&quot;: &quot;A String&quot;, # Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
166 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
172 <pre>Updates an SSH public key and returns the profile information. This method supports patch semantics.
173
174 Args:
175 name: string, Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`. (required)
176 body: object, The request body.
177 The object takes the form of:
178
179 { # The SSH public key information associated with a Google account.
180 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
181 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
182 &quot;key&quot;: &quot;A String&quot;, # Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
183 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
184 }
185
186 updateMask: string, Optional. Mask to control which fields get updated. Updates all if not present.
187 x__xgafv: string, V1 error format.
188 Allowed values
189 1 - v1 error format
190 2 - v2 error format
191
192 Returns:
193 An object of the form:
194
195 { # The SSH public key information associated with a Google account.
196 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
197 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
198 &quot;key&quot;: &quot;A String&quot;, # Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
199 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
200 }</pre>
201 </div>
202
203 </body></html>