Debian Codegraph @

googleapis/iam/admin/v1/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package admin aliases all exported identifiers in package
18 // "cloud.google.com/go/iam/admin/apiv1/adminpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package admin
24
25 import (
26 src "cloud.google.com/go/iam/admin/apiv1/adminpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/iam/admin/apiv1/adminpb
31 const (
32 LintResult_CONDITION = src.LintResult_CONDITION
33 LintResult_DEPRECATED = src.LintResult_DEPRECATED
34 LintResult_ERROR = src.LintResult_ERROR
35 LintResult_INFO = src.LintResult_INFO
36 LintResult_LEVEL_UNSPECIFIED = src.LintResult_LEVEL_UNSPECIFIED
37 LintResult_NOTICE = src.LintResult_NOTICE
38 LintResult_SEVERITY_UNSPECIFIED = src.LintResult_SEVERITY_UNSPECIFIED
39 LintResult_WARNING = src.LintResult_WARNING
40 ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED = src.ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED
41 ListServiceAccountKeysRequest_SYSTEM_MANAGED = src.ListServiceAccountKeysRequest_SYSTEM_MANAGED
42 ListServiceAccountKeysRequest_USER_MANAGED = src.ListServiceAccountKeysRequest_USER_MANAGED
43 Permission_ALPHA = src.Permission_ALPHA
44 Permission_BETA = src.Permission_BETA
45 Permission_DEPRECATED = src.Permission_DEPRECATED
46 Permission_GA = src.Permission_GA
47 Permission_NOT_SUPPORTED = src.Permission_NOT_SUPPORTED
48 Permission_SUPPORTED = src.Permission_SUPPORTED
49 Permission_TESTING = src.Permission_TESTING
50 RoleView_BASIC = src.RoleView_BASIC
51 RoleView_FULL = src.RoleView_FULL
52 Role_ALPHA = src.Role_ALPHA
53 Role_BETA = src.Role_BETA
54 Role_DEPRECATED = src.Role_DEPRECATED
55 Role_DISABLED = src.Role_DISABLED
56 Role_EAP = src.Role_EAP
57 Role_GA = src.Role_GA
58 ServiceAccountKeyAlgorithm_KEY_ALG_RSA_1024 = src.ServiceAccountKeyAlgorithm_KEY_ALG_RSA_1024
59 ServiceAccountKeyAlgorithm_KEY_ALG_RSA_2048 = src.ServiceAccountKeyAlgorithm_KEY_ALG_RSA_2048
60 ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED = src.ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED
61 ServiceAccountKeyOrigin_GOOGLE_PROVIDED = src.ServiceAccountKeyOrigin_GOOGLE_PROVIDED
62 ServiceAccountKeyOrigin_ORIGIN_UNSPECIFIED = src.ServiceAccountKeyOrigin_ORIGIN_UNSPECIFIED
63 ServiceAccountKeyOrigin_USER_PROVIDED = src.ServiceAccountKeyOrigin_USER_PROVIDED
64 ServiceAccountPrivateKeyType_TYPE_GOOGLE_CREDENTIALS_FILE = src.ServiceAccountPrivateKeyType_TYPE_GOOGLE_CREDENTIALS_FILE
65 ServiceAccountPrivateKeyType_TYPE_PKCS12_FILE = src.ServiceAccountPrivateKeyType_TYPE_PKCS12_FILE
66 ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED = src.ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED
67 ServiceAccountPublicKeyType_TYPE_NONE = src.ServiceAccountPublicKeyType_TYPE_NONE
68 ServiceAccountPublicKeyType_TYPE_RAW_PUBLIC_KEY = src.ServiceAccountPublicKeyType_TYPE_RAW_PUBLIC_KEY
69 ServiceAccountPublicKeyType_TYPE_X509_PEM_FILE = src.ServiceAccountPublicKeyType_TYPE_X509_PEM_FILE
70 )
71
72 // Deprecated: Please use vars in: cloud.google.com/go/iam/admin/apiv1/adminpb
73 var (
74 File_google_iam_admin_v1_audit_data_proto = src.File_google_iam_admin_v1_audit_data_proto
75 File_google_iam_admin_v1_iam_proto = src.File_google_iam_admin_v1_iam_proto
76 LintResult_Level_name = src.LintResult_Level_name
77 LintResult_Level_value = src.LintResult_Level_value
78 LintResult_Severity_name = src.LintResult_Severity_name
79 LintResult_Severity_value = src.LintResult_Severity_value
80 ListServiceAccountKeysRequest_KeyType_name = src.ListServiceAccountKeysRequest_KeyType_name
81 ListServiceAccountKeysRequest_KeyType_value = src.ListServiceAccountKeysRequest_KeyType_value
82 Permission_CustomRolesSupportLevel_name = src.Permission_CustomRolesSupportLevel_name
83 Permission_CustomRolesSupportLevel_value = src.Permission_CustomRolesSupportLevel_value
84 Permission_PermissionLaunchStage_name = src.Permission_PermissionLaunchStage_name
85 Permission_PermissionLaunchStage_value = src.Permission_PermissionLaunchStage_value
86 RoleView_name = src.RoleView_name
87 RoleView_value = src.RoleView_value
88 Role_RoleLaunchStage_name = src.Role_RoleLaunchStage_name
89 Role_RoleLaunchStage_value = src.Role_RoleLaunchStage_value
90 ServiceAccountKeyAlgorithm_name = src.ServiceAccountKeyAlgorithm_name
91 ServiceAccountKeyAlgorithm_value = src.ServiceAccountKeyAlgorithm_value
92 ServiceAccountKeyOrigin_name = src.ServiceAccountKeyOrigin_name
93 ServiceAccountKeyOrigin_value = src.ServiceAccountKeyOrigin_value
94 ServiceAccountPrivateKeyType_name = src.ServiceAccountPrivateKeyType_name
95 ServiceAccountPrivateKeyType_value = src.ServiceAccountPrivateKeyType_value
96 ServiceAccountPublicKeyType_name = src.ServiceAccountPublicKeyType_name
97 ServiceAccountPublicKeyType_value = src.ServiceAccountPublicKeyType_value
98 )
99
100 // Audit log information specific to Cloud IAM admin APIs. This message is
101 // serialized as an `Any` type in the `ServiceData` message of an `AuditLog`
102 // message.
103 //
104 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
105 type AuditData = src.AuditData
106
107 // A PermissionDelta message to record the added_permissions and
108 // removed_permissions inside a role.
109 //
110 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
111 type AuditData_PermissionDelta = src.AuditData_PermissionDelta
112
113 // The request to create a new role.
114 //
115 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
116 type CreateRoleRequest = src.CreateRoleRequest
117
118 // The service account key create request.
119 //
120 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
121 type CreateServiceAccountKeyRequest = src.CreateServiceAccountKeyRequest
122
123 // The service account create request.
124 //
125 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
126 type CreateServiceAccountRequest = src.CreateServiceAccountRequest
127
128 // The request to delete an existing role.
129 //
130 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
131 type DeleteRoleRequest = src.DeleteRoleRequest
132
133 // The service account key delete request.
134 //
135 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
136 type DeleteServiceAccountKeyRequest = src.DeleteServiceAccountKeyRequest
137
138 // The service account delete request.
139 //
140 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
141 type DeleteServiceAccountRequest = src.DeleteServiceAccountRequest
142
143 // The service account key disable request.
144 //
145 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
146 type DisableServiceAccountKeyRequest = src.DisableServiceAccountKeyRequest
147
148 // The service account disable request.
149 //
150 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
151 type DisableServiceAccountRequest = src.DisableServiceAccountRequest
152
153 // The service account key enable request.
154 //
155 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
156 type EnableServiceAccountKeyRequest = src.EnableServiceAccountKeyRequest
157
158 // The service account enable request.
159 //
160 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
161 type EnableServiceAccountRequest = src.EnableServiceAccountRequest
162
163 // The request to get the definition of an existing role.
164 //
165 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
166 type GetRoleRequest = src.GetRoleRequest
167
168 // The service account key get by id request.
169 //
170 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
171 type GetServiceAccountKeyRequest = src.GetServiceAccountKeyRequest
172
173 // The service account get request.
174 //
175 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
176 type GetServiceAccountRequest = src.GetServiceAccountRequest
177
178 // IAMClient is the client API for IAM service. For semantics around ctx use
179 // and closing/ending streaming RPCs, please refer to
180 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
181 //
182 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
183 type IAMClient = src.IAMClient
184
185 // IAMServer is the server API for IAM service.
186 //
187 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
188 type IAMServer = src.IAMServer
189
190 // The request to lint a Cloud IAM policy object.
191 //
192 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
193 type LintPolicyRequest = src.LintPolicyRequest
194 type LintPolicyRequest_Condition = src.LintPolicyRequest_Condition
195
196 // The response of a lint operation. An empty response indicates the operation
197 // was able to fully execute and no lint issue was found.
198 //
199 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
200 type LintPolicyResponse = src.LintPolicyResponse
201
202 // Structured response of a single validation unit.
203 //
204 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
205 type LintResult = src.LintResult
206
207 // Possible Level values of a validation unit corresponding to its domain of
208 // discourse.
209 //
210 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
211 type LintResult_Level = src.LintResult_Level
212
213 // Possible Severity values of an issued result.
214 //
215 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
216 type LintResult_Severity = src.LintResult_Severity
217
218 // The request to get all roles defined under a resource.
219 //
220 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
221 type ListRolesRequest = src.ListRolesRequest
222
223 // The response containing the roles defined under a resource.
224 //
225 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
226 type ListRolesResponse = src.ListRolesResponse
227
228 // The service account keys list request.
229 //
230 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
231 type ListServiceAccountKeysRequest = src.ListServiceAccountKeysRequest
232
233 // `KeyType` filters to selectively retrieve certain varieties of keys.
234 //
235 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
236 type ListServiceAccountKeysRequest_KeyType = src.ListServiceAccountKeysRequest_KeyType
237
238 // The service account keys list response.
239 //
240 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
241 type ListServiceAccountKeysResponse = src.ListServiceAccountKeysResponse
242
243 // The service account list request.
244 //
245 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
246 type ListServiceAccountsRequest = src.ListServiceAccountsRequest
247
248 // The service account list response.
249 //
250 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
251 type ListServiceAccountsResponse = src.ListServiceAccountsResponse
252
253 // The service account patch request. You can patch only the `display_name`
254 // and `description` fields. You must use the `update_mask` field to specify
255 // which of these fields you want to patch. Only the fields specified in the
256 // request are guaranteed to be returned in the response. Other fields may be
257 // empty in the response.
258 //
259 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
260 type PatchServiceAccountRequest = src.PatchServiceAccountRequest
261
262 // A permission which can be included by a role.
263 //
264 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
265 type Permission = src.Permission
266
267 // The state of the permission with regards to custom roles.
268 //
269 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
270 type Permission_CustomRolesSupportLevel = src.Permission_CustomRolesSupportLevel
271
272 // A stage representing a permission's lifecycle phase.
273 //
274 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
275 type Permission_PermissionLaunchStage = src.Permission_PermissionLaunchStage
276
277 // A request to get the list of auditable services for a resource.
278 //
279 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
280 type QueryAuditableServicesRequest = src.QueryAuditableServicesRequest
281
282 // A response containing a list of auditable services for a resource.
283 //
284 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
285 type QueryAuditableServicesResponse = src.QueryAuditableServicesResponse
286
287 // Contains information about an auditable service.
288 //
289 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
290 type QueryAuditableServicesResponse_AuditableService = src.QueryAuditableServicesResponse_AuditableService
291
292 // The grantable role query request.
293 //
294 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
295 type QueryGrantableRolesRequest = src.QueryGrantableRolesRequest
296
297 // The grantable role query response.
298 //
299 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
300 type QueryGrantableRolesResponse = src.QueryGrantableRolesResponse
301
302 // A request to get permissions which can be tested on a resource.
303 //
304 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
305 type QueryTestablePermissionsRequest = src.QueryTestablePermissionsRequest
306
307 // The response containing permissions which can be tested on a resource.
308 //
309 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
310 type QueryTestablePermissionsResponse = src.QueryTestablePermissionsResponse
311
312 // A role in the Identity and Access Management API.
313 //
314 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
315 type Role = src.Role
316
317 // A view for Role objects.
318 //
319 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
320 type RoleView = src.RoleView
321
322 // A stage representing a role's lifecycle phase.
323 //
324 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
325 type Role_RoleLaunchStage = src.Role_RoleLaunchStage
326
327 // An IAM service account. A service account is an account for an application
328 // or a virtual machine (VM) instance, not a person. You can use a service
329 // account to call Google APIs. To learn more, read the [overview of service
330 // accounts](https://cloud.google.com/iam/help/service-accounts/overview). When
331 // you create a service account, you specify the project ID that owns the
332 // service account, as well as a name that must be unique within the project.
333 // IAM uses these values to create an email address that identifies the service
334 // account.
335 //
336 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
337 type ServiceAccount = src.ServiceAccount
338
339 // Represents a service account key. A service account has two sets of
340 // key-pairs: user-managed, and system-managed. User-managed key-pairs can be
341 // created and deleted by users. Users are responsible for rotating these keys
342 // periodically to ensure security of their service accounts. Users retain the
343 // private key of these key-pairs, and Google retains ONLY the public key.
344 // System-managed keys are automatically rotated by Google, and are used for
345 // signing for a maximum of two weeks. The rotation process is probabilistic,
346 // and usage of the new key will gradually ramp up and down over the key's
347 // lifetime. If you cache the public key set for a service account, we
348 // recommend that you update the cache every 15 minutes. User-managed keys can
349 // be added and removed at any time, so it is important to update the cache
350 // frequently. For Google-managed keys, Google will publish a key at least 6
351 // hours before it is first used for signing and will keep publishing it for at
352 // least 6 hours after it was last used for signing. Public keys for all
353 // service accounts are also published at the OAuth2 Service Account API.
354 //
355 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
356 type ServiceAccountKey = src.ServiceAccountKey
357
358 // Supported key algorithms.
359 //
360 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
361 type ServiceAccountKeyAlgorithm = src.ServiceAccountKeyAlgorithm
362
363 // Service Account Key Origin.
364 //
365 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
366 type ServiceAccountKeyOrigin = src.ServiceAccountKeyOrigin
367
368 // Supported private key output formats.
369 //
370 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
371 type ServiceAccountPrivateKeyType = src.ServiceAccountPrivateKeyType
372
373 // Supported public key output formats.
374 //
375 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
376 type ServiceAccountPublicKeyType = src.ServiceAccountPublicKeyType
377
378 // Deprecated. [Migrate to Service Account Credentials
379 // API](https://cloud.google.com/iam/help/credentials/migrate-api). The service
380 // account sign blob request.
381 //
382 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
383 type SignBlobRequest = src.SignBlobRequest
384
385 // Deprecated. [Migrate to Service Account Credentials
386 // API](https://cloud.google.com/iam/help/credentials/migrate-api). The service
387 // account sign blob response.
388 //
389 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
390 type SignBlobResponse = src.SignBlobResponse
391
392 // Deprecated. [Migrate to Service Account Credentials
393 // API](https://cloud.google.com/iam/help/credentials/migrate-api). The service
394 // account sign JWT request.
395 //
396 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
397 type SignJwtRequest = src.SignJwtRequest
398
399 // Deprecated. [Migrate to Service Account Credentials
400 // API](https://cloud.google.com/iam/help/credentials/migrate-api). The service
401 // account sign JWT response.
402 //
403 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
404 type SignJwtResponse = src.SignJwtResponse
405
406 // The request to undelete an existing role.
407 //
408 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
409 type UndeleteRoleRequest = src.UndeleteRoleRequest
410
411 // The service account undelete request.
412 //
413 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
414 type UndeleteServiceAccountRequest = src.UndeleteServiceAccountRequest
415 type UndeleteServiceAccountResponse = src.UndeleteServiceAccountResponse
416
417 // UnimplementedIAMServer can be embedded to have forward compatible
418 // implementations.
419 //
420 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
421 type UnimplementedIAMServer = src.UnimplementedIAMServer
422
423 // The request to update a role.
424 //
425 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
426 type UpdateRoleRequest = src.UpdateRoleRequest
427
428 // The service account key upload request.
429 //
430 // Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
431 type UploadServiceAccountKeyRequest = src.UploadServiceAccountKeyRequest
432
433 // Deprecated: Please use funcs in: cloud.google.com/go/iam/admin/apiv1/adminpb
434 func NewIAMClient(cc grpc.ClientConnInterface) IAMClient { return src.NewIAMClient(cc) }
435
436 // Deprecated: Please use funcs in: cloud.google.com/go/iam/admin/apiv1/adminpb
437 func RegisterIAMServer(s *grpc.Server, srv IAMServer) { src.RegisterIAMServer(s, srv) }