google-apis-agentidentity_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 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
+ module Google
16
+ module Apis
17
+ module AgentidentityV1
18
+ # Version of the google-apis-agentidentity_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.19.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20260722"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,475 @@
1
+ # Copyright 2020 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
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AgentidentityV1
24
+
25
+ class AccessSummary
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApiKeyParams
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuditConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuditLogConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AuthProvider
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AuthProviderTypeParams
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Authorization
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Binding
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DisableAuthProviderRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Empty
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class EnableAuthProviderRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Expr
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GeminiEnterpriseAuthProviderParams
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListAccessSummariesResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListAuthProvidersResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListAuthorizationsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListLocationsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Location
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Policy
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class QueryAuthProvidersResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class QueryWorkloadsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class RevokeAuthorizationRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class RevokeAuthorizationResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class SetIamPolicyRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class TestIamPermissionsRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class TestIamPermissionsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ThreeLeggedOAuth
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class TwoLeggedOAuth
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class UndeleteAuthProviderRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class AccessSummary
200
+ # @private
201
+ class Representation < Google::Apis::Core::JsonRepresentation
202
+ property :auth_provider, as: 'authProvider'
203
+ property :auth_provider_type, as: 'authProviderType'
204
+ property :first_access_time, as: 'firstAccessTime'
205
+ hash :labels, as: 'labels'
206
+ property :last_access_time, as: 'lastAccessTime'
207
+ property :name, as: 'name'
208
+ property :purge_time, as: 'purgeTime'
209
+ collection :scopes, as: 'scopes'
210
+ property :token_url, as: 'tokenUrl'
211
+ property :user_id, as: 'userId'
212
+ property :workload_id, as: 'workloadId'
213
+ end
214
+ end
215
+
216
+ class ApiKeyParams
217
+ # @private
218
+ class Representation < Google::Apis::Core::JsonRepresentation
219
+ property :api_key, as: 'apiKey'
220
+ end
221
+ end
222
+
223
+ class AuditConfig
224
+ # @private
225
+ class Representation < Google::Apis::Core::JsonRepresentation
226
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::AgentidentityV1::AuditLogConfig, decorator: Google::Apis::AgentidentityV1::AuditLogConfig::Representation
227
+
228
+ property :service, as: 'service'
229
+ end
230
+ end
231
+
232
+ class AuditLogConfig
233
+ # @private
234
+ class Representation < Google::Apis::Core::JsonRepresentation
235
+ collection :exempted_members, as: 'exemptedMembers'
236
+ property :log_type, as: 'logType'
237
+ end
238
+ end
239
+
240
+ class AuthProvider
241
+ # @private
242
+ class Representation < Google::Apis::Core::JsonRepresentation
243
+ collection :allowed_scopes, as: 'allowedScopes'
244
+ property :auth_provider_type_params, as: 'authProviderTypeParams', class: Google::Apis::AgentidentityV1::AuthProviderTypeParams, decorator: Google::Apis::AgentidentityV1::AuthProviderTypeParams::Representation
245
+
246
+ collection :blocked_scopes, as: 'blockedScopes'
247
+ property :create_time, as: 'createTime'
248
+ property :deleted, as: 'deleted'
249
+ property :description, as: 'description'
250
+ property :expire_time, as: 'expireTime'
251
+ hash :labels, as: 'labels'
252
+ property :name, as: 'name'
253
+ property :state, as: 'state'
254
+ property :update_time, as: 'updateTime'
255
+ collection :workload_ids, as: 'workloadIds'
256
+ end
257
+ end
258
+
259
+ class AuthProviderTypeParams
260
+ # @private
261
+ class Representation < Google::Apis::Core::JsonRepresentation
262
+ property :api_key, as: 'apiKey', class: Google::Apis::AgentidentityV1::ApiKeyParams, decorator: Google::Apis::AgentidentityV1::ApiKeyParams::Representation
263
+
264
+ property :ge_auth_provider, as: 'geAuthProvider', class: Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams, decorator: Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams::Representation
265
+
266
+ property :three_legged_oauth, as: 'threeLeggedOauth', class: Google::Apis::AgentidentityV1::ThreeLeggedOAuth, decorator: Google::Apis::AgentidentityV1::ThreeLeggedOAuth::Representation
267
+
268
+ property :two_legged_oauth, as: 'twoLeggedOauth', class: Google::Apis::AgentidentityV1::TwoLeggedOAuth, decorator: Google::Apis::AgentidentityV1::TwoLeggedOAuth::Representation
269
+
270
+ end
271
+ end
272
+
273
+ class Authorization
274
+ # @private
275
+ class Representation < Google::Apis::Core::JsonRepresentation
276
+ property :client_user_id, as: 'clientUserId'
277
+ property :create_time, as: 'createTime'
278
+ property :name, as: 'name'
279
+ collection :scopes, as: 'scopes'
280
+ property :state, as: 'state'
281
+ property :update_time, as: 'updateTime'
282
+ end
283
+ end
284
+
285
+ class Binding
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :condition, as: 'condition', class: Google::Apis::AgentidentityV1::Expr, decorator: Google::Apis::AgentidentityV1::Expr::Representation
289
+
290
+ collection :members, as: 'members'
291
+ property :role, as: 'role'
292
+ end
293
+ end
294
+
295
+ class DisableAuthProviderRequest
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :request_id, as: 'requestId'
299
+ end
300
+ end
301
+
302
+ class Empty
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ end
306
+ end
307
+
308
+ class EnableAuthProviderRequest
309
+ # @private
310
+ class Representation < Google::Apis::Core::JsonRepresentation
311
+ property :request_id, as: 'requestId'
312
+ end
313
+ end
314
+
315
+ class Expr
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ property :description, as: 'description'
319
+ property :expression, as: 'expression'
320
+ property :location, as: 'location'
321
+ property :title, as: 'title'
322
+ end
323
+ end
324
+
325
+ class GeminiEnterpriseAuthProviderParams
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ end
329
+ end
330
+
331
+ class ListAccessSummariesResponse
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ collection :access_summaries, as: 'accessSummaries', class: Google::Apis::AgentidentityV1::AccessSummary, decorator: Google::Apis::AgentidentityV1::AccessSummary::Representation
335
+
336
+ property :next_page_token, as: 'nextPageToken'
337
+ collection :unreachable, as: 'unreachable'
338
+ end
339
+ end
340
+
341
+ class ListAuthProvidersResponse
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ collection :auth_providers, as: 'authProviders', class: Google::Apis::AgentidentityV1::AuthProvider, decorator: Google::Apis::AgentidentityV1::AuthProvider::Representation
345
+
346
+ property :next_page_token, as: 'nextPageToken'
347
+ collection :unreachable, as: 'unreachable'
348
+ end
349
+ end
350
+
351
+ class ListAuthorizationsResponse
352
+ # @private
353
+ class Representation < Google::Apis::Core::JsonRepresentation
354
+ collection :authorizations, as: 'authorizations', class: Google::Apis::AgentidentityV1::Authorization, decorator: Google::Apis::AgentidentityV1::Authorization::Representation
355
+
356
+ property :next_page_token, as: 'nextPageToken'
357
+ collection :unreachable, as: 'unreachable'
358
+ end
359
+ end
360
+
361
+ class ListLocationsResponse
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ collection :locations, as: 'locations', class: Google::Apis::AgentidentityV1::Location, decorator: Google::Apis::AgentidentityV1::Location::Representation
365
+
366
+ property :next_page_token, as: 'nextPageToken'
367
+ end
368
+ end
369
+
370
+ class Location
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :display_name, as: 'displayName'
374
+ hash :labels, as: 'labels'
375
+ property :location_id, as: 'locationId'
376
+ hash :metadata, as: 'metadata'
377
+ property :name, as: 'name'
378
+ end
379
+ end
380
+
381
+ class Policy
382
+ # @private
383
+ class Representation < Google::Apis::Core::JsonRepresentation
384
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::AgentidentityV1::AuditConfig, decorator: Google::Apis::AgentidentityV1::AuditConfig::Representation
385
+
386
+ collection :bindings, as: 'bindings', class: Google::Apis::AgentidentityV1::Binding, decorator: Google::Apis::AgentidentityV1::Binding::Representation
387
+
388
+ property :etag, :base64 => true, as: 'etag'
389
+ property :version, as: 'version'
390
+ end
391
+ end
392
+
393
+ class QueryAuthProvidersResponse
394
+ # @private
395
+ class Representation < Google::Apis::Core::JsonRepresentation
396
+ collection :auth_provider_names, as: 'authProviderNames'
397
+ property :next_page_token, as: 'nextPageToken'
398
+ end
399
+ end
400
+
401
+ class QueryWorkloadsResponse
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :next_page_token, as: 'nextPageToken'
405
+ collection :workload_ids, as: 'workloadIds'
406
+ end
407
+ end
408
+
409
+ class RevokeAuthorizationRequest
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :user_id, as: 'userId'
413
+ end
414
+ end
415
+
416
+ class RevokeAuthorizationResponse
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ end
420
+ end
421
+
422
+ class SetIamPolicyRequest
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :policy, as: 'policy', class: Google::Apis::AgentidentityV1::Policy, decorator: Google::Apis::AgentidentityV1::Policy::Representation
426
+
427
+ property :update_mask, as: 'updateMask'
428
+ end
429
+ end
430
+
431
+ class TestIamPermissionsRequest
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ collection :permissions, as: 'permissions'
435
+ end
436
+ end
437
+
438
+ class TestIamPermissionsResponse
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ collection :permissions, as: 'permissions'
442
+ end
443
+ end
444
+
445
+ class ThreeLeggedOAuth
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :authorization_url, as: 'authorizationUrl'
449
+ property :client_id, as: 'clientId'
450
+ property :client_secret, as: 'clientSecret'
451
+ property :default_continue_uri, as: 'defaultContinueUri'
452
+ property :enable_pkce, as: 'enablePkce'
453
+ property :redirect_url, as: 'redirectUrl'
454
+ property :token_url, as: 'tokenUrl'
455
+ end
456
+ end
457
+
458
+ class TwoLeggedOAuth
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :client_id, as: 'clientId'
462
+ property :client_secret, as: 'clientSecret'
463
+ property :token_url, as: 'tokenUrl'
464
+ end
465
+ end
466
+
467
+ class UndeleteAuthProviderRequest
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :request_id, as: 'requestId'
471
+ end
472
+ end
473
+ end
474
+ end
475
+ end