• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, 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
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, 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.sshPublicKeys.html">sshPublicKeys</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
79<p class="firstline">Deletes an SSH public key.</p>
80<p class="toc_element">
81  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Retrieves an SSH public key.</p>
83<p class="toc_element">
84  <code><a href="#patch">patch(name, body, updateMask=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Updates an SSH public key and returns the profile information. This method</p>
86<h3>Method Details</h3>
87<div class="method">
88    <code class="details" id="delete">delete(name, x__xgafv=None)</code>
89  <pre>Deletes an SSH public key.
90
91Args:
92  name: string, The fingerprint of the public key to update. Public keys are identified by
93their SHA-256 fingerprint. The fingerprint of the public key is in format
94`users/{user}/sshPublicKeys/{fingerprint}`. (required)
95  x__xgafv: string, V1 error format.
96    Allowed values
97      1 - v1 error format
98      2 - v2 error format
99
100Returns:
101  An object of the form:
102
103    { # A generic empty message that you can re-use to avoid defining duplicated
104      # empty messages in your APIs. A typical example is to use it as the request
105      # or the response type of an API method. For instance:
106      #
107      #     service Foo {
108      #       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
109      #     }
110      #
111      # The JSON representation for `Empty` is empty JSON object `{}`.
112  }</pre>
113</div>
114
115<div class="method">
116    <code class="details" id="get">get(name, x__xgafv=None)</code>
117  <pre>Retrieves an SSH public key.
118
119Args:
120  name: string, The fingerprint of the public key to retrieve. Public keys are identified
121by their SHA-256 fingerprint. The fingerprint of the public key is in
122format `users/{user}/sshPublicKeys/{fingerprint}`. (required)
123  x__xgafv: string, V1 error format.
124    Allowed values
125      1 - v1 error format
126      2 - v2 error format
127
128Returns:
129  An object of the form:
130
131    { # The SSH public key information associated with a Google account.
132    "expirationTimeUsec": "A String", # An expiration time in microseconds since epoch.
133    "key": "A String", # Public key text in SSH format, defined by
134        # <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
135        # section 6.6.
136    "fingerprint": "A String", # Output only. The SHA-256 fingerprint of the SSH public key.
137  }</pre>
138</div>
139
140<div class="method">
141    <code class="details" id="patch">patch(name, body, updateMask=None, x__xgafv=None)</code>
142  <pre>Updates an SSH public key and returns the profile information. This method
143supports patch semantics.
144
145Args:
146  name: string, The fingerprint of the public key to update. Public keys are identified by
147their SHA-256 fingerprint. The fingerprint of the public key is in format
148`users/{user}/sshPublicKeys/{fingerprint}`. (required)
149  body: object, The request body. (required)
150    The object takes the form of:
151
152{ # The SSH public key information associated with a Google account.
153  "expirationTimeUsec": "A String", # An expiration time in microseconds since epoch.
154  "key": "A String", # Public key text in SSH format, defined by
155      # <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
156      # section 6.6.
157  "fingerprint": "A String", # Output only. The SHA-256 fingerprint of the SSH public key.
158}
159
160  updateMask: string, Mask to control which fields get updated. Updates all if not present.
161  x__xgafv: string, V1 error format.
162    Allowed values
163      1 - v1 error format
164      2 - v2 error format
165
166Returns:
167  An object of the form:
168
169    { # The SSH public key information associated with a Google account.
170    "expirationTimeUsec": "A String", # An expiration time in microseconds since epoch.
171    "key": "A String", # Public key text in SSH format, defined by
172        # <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
173        # section 6.6.
174    "fingerprint": "A String", # Output only. The SHA-256 fingerprint of the SSH public key.
175  }</pre>
176</div>
177
178</body></html>