Debian Codegraph @

docs/dyn/oslogin_v1beta.users.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_v1beta.html">Cloud OS Login API</a> . <a href="oslogin_v1beta.users.html">users</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="oslogin_v1beta.users.projects.html">projects()</a></code>
79 </p>
80 <p class="firstline">Returns the projects Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="oslogin_v1beta.users.sshPublicKeys.html">sshPublicKeys()</a></code>
84 </p>
85 <p class="firstline">Returns the sshPublicKeys Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#close">close()</a></code></p>
89 <p class="firstline">Close httplib2 connections.</p>
90 <p class="toc_element">
91 <code><a href="#getLoginProfile">getLoginProfile(name, projectId=None, systemId=None, view=None, x__xgafv=None)</a></code></p>
92 <p class="firstline">Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.</p>
93 <p class="toc_element">
94 <code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, view=None, x__xgafv=None)</a></code></p>
95 <p class="firstline">Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.</p>
96 <h3>Method Details</h3>
97 <div class="method">
98 <code class="details" id="close">close()</code>
99 <pre>Close httplib2 connections.</pre>
100 </div>
101
102 <div class="method">
103 <code class="details" id="getLoginProfile">getLoginProfile(name, projectId=None, systemId=None, view=None, x__xgafv=None)</code>
104 <pre>Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
105
106 Args:
107 name: string, Required. The unique ID for the user in format `users/{user}`. (required)
108 projectId: string, Required. The project ID of the Google Cloud Platform project.
109 systemId: string, Optional. A system ID for filtering the results of the request.
110 view: string, The view configures whether to retrieve security keys information.
111 Allowed values
112 LOGIN_PROFILE_VIEW_UNSPECIFIED - The default login profile view. The API defaults to the BASIC view.
113 BASIC - Includes POSIX and SSH key information.
114 SECURITY_KEY - Include security key information for the user.
115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
119
120 Returns:
121 An object of the form:
122
123 { # The user profile information used for logging in to a virtual machine on Google Compute Engine.
124 &quot;name&quot;: &quot;A String&quot;, # Required. A unique user ID.
125 &quot;posixAccounts&quot;: [ # The list of POSIX accounts associated with the user.
126 { # The POSIX account information associated with a Google account.
127 &quot;accountId&quot;: &quot;A String&quot;, # Output only. A POSIX account identifier.
128 &quot;gecos&quot;: &quot;A String&quot;, # The GECOS (user information) entry for this account.
129 &quot;gid&quot;: &quot;A String&quot;, # The default group ID.
130 &quot;homeDirectory&quot;: &quot;A String&quot;, # The path to the home directory for this account.
131 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
132 &quot;operatingSystemType&quot;: &quot;A String&quot;, # The operating system type where this account applies.
133 &quot;primary&quot;: True or False, # Only one POSIX account can be marked as primary.
134 &quot;shell&quot;: &quot;A String&quot;, # The path to the logic shell for this account.
135 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which account the username or uid applies to. By default, the empty value is used.
136 &quot;uid&quot;: &quot;A String&quot;, # The user ID.
137 &quot;username&quot;: &quot;A String&quot;, # The username of the POSIX account.
138 },
139 ],
140 &quot;securityKeys&quot;: [ # The registered security key credentials for a user.
141 { # The credential information for a Google registered security key.
142 &quot;deviceNickname&quot;: &quot;A String&quot;, # The security key nickname explicitly set by the user.
143 &quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
144 &quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253](&quot;https://www.ietf.org/rfc/rfc4253.txt&quot;) section 6.6.
145 &quot;universalTwoFactor&quot;: { # Security key information specific to the U2F protocol. # The U2F protocol type.
146 &quot;appId&quot;: &quot;A String&quot;, # Application ID for the U2F protocol.
147 },
148 &quot;webAuthn&quot;: { # Security key information specific to the Web Authentication protocol. # The Web Authentication protocol type.
149 &quot;rpId&quot;: &quot;A String&quot;, # Relying party ID for Web Authentication.
150 },
151 },
152 ],
153 &quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
154 &quot;a_key&quot;: { # The SSH public key information associated with a Google account.
155 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
156 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
157 &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.
158 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
159 },
160 },
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, view=None, x__xgafv=None)</code>
166 <pre>Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
167
168 Args:
169 parent: string, The unique ID for the user in format `users/{user}`. (required)
170 body: object, The request body.
171 The object takes the form of:
172
173 { # The SSH public key information associated with a Google account.
174 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
175 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
176 &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.
177 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
178 }
179
180 projectId: string, The project ID of the Google Cloud Platform project.
181 regions: string, Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region. (repeated)
182 view: string, The view configures whether to retrieve security keys information.
183 Allowed values
184 LOGIN_PROFILE_VIEW_UNSPECIFIED - The default login profile view. The API defaults to the BASIC view.
185 BASIC - Includes POSIX and SSH key information.
186 SECURITY_KEY - Include security key information for the user.
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 { # A response message for importing an SSH public key.
196 &quot;details&quot;: &quot;A String&quot;, # Detailed information about import results.
197 &quot;loginProfile&quot;: { # The user profile information used for logging in to a virtual machine on Google Compute Engine. # The login profile information for the user.
198 &quot;name&quot;: &quot;A String&quot;, # Required. A unique user ID.
199 &quot;posixAccounts&quot;: [ # The list of POSIX accounts associated with the user.
200 { # The POSIX account information associated with a Google account.
201 &quot;accountId&quot;: &quot;A String&quot;, # Output only. A POSIX account identifier.
202 &quot;gecos&quot;: &quot;A String&quot;, # The GECOS (user information) entry for this account.
203 &quot;gid&quot;: &quot;A String&quot;, # The default group ID.
204 &quot;homeDirectory&quot;: &quot;A String&quot;, # The path to the home directory for this account.
205 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
206 &quot;operatingSystemType&quot;: &quot;A String&quot;, # The operating system type where this account applies.
207 &quot;primary&quot;: True or False, # Only one POSIX account can be marked as primary.
208 &quot;shell&quot;: &quot;A String&quot;, # The path to the logic shell for this account.
209 &quot;systemId&quot;: &quot;A String&quot;, # System identifier for which account the username or uid applies to. By default, the empty value is used.
210 &quot;uid&quot;: &quot;A String&quot;, # The user ID.
211 &quot;username&quot;: &quot;A String&quot;, # The username of the POSIX account.
212 },
213 ],
214 &quot;securityKeys&quot;: [ # The registered security key credentials for a user.
215 { # The credential information for a Google registered security key.
216 &quot;deviceNickname&quot;: &quot;A String&quot;, # The security key nickname explicitly set by the user.
217 &quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
218 &quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253](&quot;https://www.ietf.org/rfc/rfc4253.txt&quot;) section 6.6.
219 &quot;universalTwoFactor&quot;: { # Security key information specific to the U2F protocol. # The U2F protocol type.
220 &quot;appId&quot;: &quot;A String&quot;, # Application ID for the U2F protocol.
221 },
222 &quot;webAuthn&quot;: { # Security key information specific to the Web Authentication protocol. # The Web Authentication protocol type.
223 &quot;rpId&quot;: &quot;A String&quot;, # Relying party ID for Web Authentication.
224 },
225 },
226 ],
227 &quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
228 &quot;a_key&quot;: { # The SSH public key information associated with a Google account.
229 &quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
230 &quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
231 &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.
232 &quot;name&quot;: &quot;A String&quot;, # Output only. The canonical resource name.
233 },
234 },
235 },
236 }</pre>
237 </div>
238
239 </body></html>