google-apis-agentidentity_v1 0.2.0 → 0.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 194214c9585279d55cd9b94b963d3c37abdb7f20a7eff3ad54a83987fd4eead5
4
- data.tar.gz: 9c6d12fbb2b96c3a9ba5db6ef971ab29afb11474b188f4845243a539808b56a5
3
+ metadata.gz: 55d6aaa8c4f039a283287a5d82f16869757d4efba111c0e526d01ce341a96680
4
+ data.tar.gz: 89f95fd7150eb4d87fa9b24052777d103fae9a623a6f3ad2dbc271d2de8172ee
5
5
  SHA512:
6
- metadata.gz: 631f7f6fb5dde9ddb08ae82a8d0fe1c810d1abe577f68ce80fed56a88c712b4a10cdff85dcf26c152e3e3959549b4caaabc8389329a63f1c267c33becca390ef
7
- data.tar.gz: 99e19ede5e6658e29494793aff78b193328316446795b7c1562a7fc9cae1beb055a0b1b39c9861bc7264df2e0a827722a4dfa115f618c6109da6dd6a6f1b5110
6
+ metadata.gz: a0fd066fd5c885bdf512d97024f85e0829d9d510ef5ed475dfd779510f7ce44417628d92c55e0a73475077d553c64e855ce9aeda64333cad09217db81bfd9399
7
+ data.tar.gz: dd9aef10fd294b23584f1fdfd67fd0c7a40176e88e7fd19ac3b50bfe66c28364982a531e4b34525afbcfa084616ab8e741221dbc7241a3fb9ac9dcc95f5d5c0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-agentidentity_v1
2
2
 
3
+ ### v0.4.0 (2026-10-28)
4
+
5
+ * Regenerated from discovery document revision 20261022
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.3.0 (2026-10-04)
9
+
10
+ * Regenerated from discovery document revision 20260924
11
+
3
12
  ### v0.2.0 (2026-08-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20260823
@@ -106,6 +106,19 @@ module Google
106
106
  end
107
107
  end
108
108
 
109
+ # Marker message to indicate the managed Agent Identity Pool is used.
110
+ class AgentIdentityPool
111
+ include Google::Apis::Core::Hashable
112
+
113
+ def initialize(**args)
114
+ update!(**args)
115
+ end
116
+
117
+ # Update properties of this object
118
+ def update!(**args)
119
+ end
120
+ end
121
+
109
122
  # Configuration for API key authentication.
110
123
  class ApiKeyParams
111
124
  include Google::Apis::Core::Hashable
@@ -302,6 +315,11 @@ module Google
302
315
  # @return [Google::Apis::AgentidentityV1::ApiKeyParams]
303
316
  attr_accessor :api_key
304
317
 
318
+ # Configuration parameters for the Connector Reference auth provider.
319
+ # Corresponds to the JSON property `connectorReferenceAuthProvider`
320
+ # @return [Google::Apis::AgentidentityV1::ConnectorReferenceAuthProvider]
321
+ attr_accessor :connector_reference_auth_provider
322
+
305
323
  # Configuration for Gemini Enterprise authentication.
306
324
  # Corresponds to the JSON property `geAuthProvider`
307
325
  # @return [Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams]
@@ -317,6 +335,11 @@ module Google
317
335
  # @return [Google::Apis::AgentidentityV1::TwoLeggedOAuth]
318
336
  attr_accessor :two_legged_oauth
319
337
 
338
+ # Configuration parameters for the Cross-App Access auth provider.
339
+ # Corresponds to the JSON property `xaaAuthProvider`
340
+ # @return [Google::Apis::AgentidentityV1::CrossAppAccessAuthProvider]
341
+ attr_accessor :xaa_auth_provider
342
+
320
343
  def initialize(**args)
321
344
  update!(**args)
322
345
  end
@@ -324,9 +347,11 @@ module Google
324
347
  # Update properties of this object
325
348
  def update!(**args)
326
349
  @api_key = args[:api_key] if args.key?(:api_key)
350
+ @connector_reference_auth_provider = args[:connector_reference_auth_provider] if args.key?(:connector_reference_auth_provider)
327
351
  @ge_auth_provider = args[:ge_auth_provider] if args.key?(:ge_auth_provider)
328
352
  @three_legged_oauth = args[:three_legged_oauth] if args.key?(:three_legged_oauth)
329
353
  @two_legged_oauth = args[:two_legged_oauth] if args.key?(:two_legged_oauth)
354
+ @xaa_auth_provider = args[:xaa_auth_provider] if args.key?(:xaa_auth_provider)
330
355
  end
331
356
  end
332
357
 
@@ -482,6 +507,178 @@ module Google
482
507
  end
483
508
  end
484
509
 
510
+ # Configuration for client ID and client assertion JWT authentication.
511
+ class ClientAssertionJwtAuth
512
+ include Google::Apis::Core::Hashable
513
+
514
+ # Required. The client identifier.
515
+ # Corresponds to the JSON property `clientId`
516
+ # @return [String]
517
+ attr_accessor :client_id
518
+
519
+ def initialize(**args)
520
+ update!(**args)
521
+ end
522
+
523
+ # Update properties of this object
524
+ def update!(**args)
525
+ @client_id = args[:client_id] if args.key?(:client_id)
526
+ end
527
+ end
528
+
529
+ # Configuration for client ID and client secret authentication.
530
+ class ClientSecretAuth
531
+ include Google::Apis::Core::Hashable
532
+
533
+ # Required. The client identifier.
534
+ # Corresponds to the JSON property `clientId`
535
+ # @return [String]
536
+ attr_accessor :client_id
537
+
538
+ # Required. Input only. The client secret.
539
+ # Corresponds to the JSON property `clientSecret`
540
+ # @return [String]
541
+ attr_accessor :client_secret
542
+
543
+ def initialize(**args)
544
+ update!(**args)
545
+ end
546
+
547
+ # Update properties of this object
548
+ def update!(**args)
549
+ @client_id = args[:client_id] if args.key?(:client_id)
550
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
551
+ end
552
+ end
553
+
554
+ # Configuration parameters for the Connector Reference auth provider.
555
+ class ConnectorReferenceAuthProvider
556
+ include Google::Apis::Core::Hashable
557
+
558
+ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth
559
+ # resources/scopes, formatted as a JSON array of JSON objects.
560
+ # Corresponds to the JSON property `authorizationDetails`
561
+ # @return [Array<Hash<String,Object>>]
562
+ attr_accessor :authorization_details
563
+
564
+ # Required. The name of the referenced connector.
565
+ # Corresponds to the JSON property `connector`
566
+ # @return [String]
567
+ attr_accessor :connector
568
+
569
+ def initialize(**args)
570
+ update!(**args)
571
+ end
572
+
573
+ # Update properties of this object
574
+ def update!(**args)
575
+ @authorization_details = args[:authorization_details] if args.key?(:authorization_details)
576
+ @connector = args[:connector] if args.key?(:connector)
577
+ end
578
+ end
579
+
580
+ # Configuration parameters for the Cross-App Access auth provider.
581
+ class CrossAppAccessAuthProvider
582
+ include Google::Apis::Core::Hashable
583
+
584
+ # Optional. Additional parameters to be passed to the token endpoint.
585
+ # Corresponds to the JSON property `additionalParameters`
586
+ # @return [Hash<String,String>]
587
+ attr_accessor :additional_parameters
588
+
589
+ # Configuration for client ID and client assertion JWT authentication.
590
+ # Corresponds to the JSON property `clientAssertionJwtAuth`
591
+ # @return [Google::Apis::AgentidentityV1::ClientAssertionJwtAuth]
592
+ attr_accessor :client_assertion_jwt_auth
593
+
594
+ # Configuration for client ID and client secret authentication.
595
+ # Corresponds to the JSON property `clientSecretAuth`
596
+ # @return [Google::Apis::AgentidentityV1::ClientSecretAuth]
597
+ attr_accessor :client_secret_auth
598
+
599
+ # Configuration for a custom or third-party authorization server issuer.
600
+ # Corresponds to the JSON property `customIssuer`
601
+ # @return [Google::Apis::AgentidentityV1::CustomIssuer]
602
+ attr_accessor :custom_issuer
603
+
604
+ # Configuration for Google Account usage as the issuer.
605
+ # Corresponds to the JSON property `googleAccount`
606
+ # @return [Google::Apis::AgentidentityV1::GoogleAccount]
607
+ attr_accessor :google_account
608
+
609
+ # Marker message indicating the input is already an ID-JAG, so no fetching is
610
+ # required.
611
+ # Corresponds to the JSON property `idJagInput`
612
+ # @return [Google::Apis::AgentidentityV1::DirectIdJagInput]
613
+ attr_accessor :id_jag_input
614
+
615
+ # Defines how to process an input ID token to obtain an ID-JAG.
616
+ # Corresponds to the JSON property `idTokenInput`
617
+ # @return [Google::Apis::AgentidentityV1::IdTokenProcessingConfig]
618
+ attr_accessor :id_token_input
619
+
620
+ # Configuration for Workforce Identity Federation usage as the issuer.
621
+ # Corresponds to the JSON property `workforceIdentityFederation`
622
+ # @return [Google::Apis::AgentidentityV1::WorkforceIdentityFederation]
623
+ attr_accessor :workforce_identity_federation
624
+
625
+ def initialize(**args)
626
+ update!(**args)
627
+ end
628
+
629
+ # Update properties of this object
630
+ def update!(**args)
631
+ @additional_parameters = args[:additional_parameters] if args.key?(:additional_parameters)
632
+ @client_assertion_jwt_auth = args[:client_assertion_jwt_auth] if args.key?(:client_assertion_jwt_auth)
633
+ @client_secret_auth = args[:client_secret_auth] if args.key?(:client_secret_auth)
634
+ @custom_issuer = args[:custom_issuer] if args.key?(:custom_issuer)
635
+ @google_account = args[:google_account] if args.key?(:google_account)
636
+ @id_jag_input = args[:id_jag_input] if args.key?(:id_jag_input)
637
+ @id_token_input = args[:id_token_input] if args.key?(:id_token_input)
638
+ @workforce_identity_federation = args[:workforce_identity_federation] if args.key?(:workforce_identity_federation)
639
+ end
640
+ end
641
+
642
+ # Configuration for a custom or third-party authorization server issuer.
643
+ class CustomIssuer
644
+ include Google::Apis::Core::Hashable
645
+
646
+ # Optional. The issuer identifier of the target Authorization Server.
647
+ # Corresponds to the JSON property `issuer`
648
+ # @return [String]
649
+ attr_accessor :issuer
650
+
651
+ # Required. The token endpoint of the target OAuth authorization server to
652
+ # retrieve resource tokens.
653
+ # Corresponds to the JSON property `tokenUrl`
654
+ # @return [String]
655
+ attr_accessor :token_url
656
+
657
+ def initialize(**args)
658
+ update!(**args)
659
+ end
660
+
661
+ # Update properties of this object
662
+ def update!(**args)
663
+ @issuer = args[:issuer] if args.key?(:issuer)
664
+ @token_url = args[:token_url] if args.key?(:token_url)
665
+ end
666
+ end
667
+
668
+ # Marker message indicating the input is already an ID-JAG, so no fetching is
669
+ # required.
670
+ class DirectIdJagInput
671
+ include Google::Apis::Core::Hashable
672
+
673
+ def initialize(**args)
674
+ update!(**args)
675
+ end
676
+
677
+ # Update properties of this object
678
+ def update!(**args)
679
+ end
680
+ end
681
+
485
682
  # Request message for `DisableAuthProvider`.
486
683
  class DisableAuthProviderRequest
487
684
  include Google::Apis::Core::Hashable
@@ -613,6 +810,51 @@ module Google
613
810
  end
614
811
  end
615
812
 
813
+ # Configuration for Google Account usage as the issuer.
814
+ class GoogleAccount
815
+ include Google::Apis::Core::Hashable
816
+
817
+ def initialize(**args)
818
+ update!(**args)
819
+ end
820
+
821
+ # Update properties of this object
822
+ def update!(**args)
823
+ end
824
+ end
825
+
826
+ # Defines how to process an input ID token to obtain an ID-JAG.
827
+ class IdTokenProcessingConfig
828
+ include Google::Apis::Core::Hashable
829
+
830
+ # Marker message to indicate the managed Agent Identity Pool is used.
831
+ # Corresponds to the JSON property `agentIdentityPool`
832
+ # @return [Google::Apis::AgentidentityV1::AgentIdentityPool]
833
+ attr_accessor :agent_identity_pool
834
+
835
+ # Optional. Optional additional claims to include when fetching an ID-JAG.
836
+ # Corresponds to the JSON property `idJagAdditionalClaims`
837
+ # @return [Hash<String,Object>]
838
+ attr_accessor :id_jag_additional_claims
839
+
840
+ # The resource name of the ID-JAG auth provider. Format: "projects/`project`/
841
+ # locations/`location`/authProviders/`auth_provider`"
842
+ # Corresponds to the JSON property `idJagAuthProvider`
843
+ # @return [String]
844
+ attr_accessor :id_jag_auth_provider
845
+
846
+ def initialize(**args)
847
+ update!(**args)
848
+ end
849
+
850
+ # Update properties of this object
851
+ def update!(**args)
852
+ @agent_identity_pool = args[:agent_identity_pool] if args.key?(:agent_identity_pool)
853
+ @id_jag_additional_claims = args[:id_jag_additional_claims] if args.key?(:id_jag_additional_claims)
854
+ @id_jag_auth_provider = args[:id_jag_auth_provider] if args.key?(:id_jag_auth_provider)
855
+ end
856
+ end
857
+
616
858
  # Response message for `ListAccessSummaries`.
617
859
  class ListAccessSummariesResponse
618
860
  include Google::Apis::Core::Hashable
@@ -925,6 +1167,46 @@ module Google
925
1167
  end
926
1168
  end
927
1169
 
1170
+ # Request message for `ResolveAuthorization`.
1171
+ class ResolveAuthorizationRequest
1172
+ include Google::Apis::Core::Hashable
1173
+
1174
+ # Required. The user ID of the client for whom the authorization is resolved.
1175
+ # Corresponds to the JSON property `clientUserId`
1176
+ # @return [String]
1177
+ attr_accessor :client_user_id
1178
+
1179
+ def initialize(**args)
1180
+ update!(**args)
1181
+ end
1182
+
1183
+ # Update properties of this object
1184
+ def update!(**args)
1185
+ @client_user_id = args[:client_user_id] if args.key?(:client_user_id)
1186
+ end
1187
+ end
1188
+
1189
+ # Response message for `ResolveAuthorization`.
1190
+ class ResolveAuthorizationResponse
1191
+ include Google::Apis::Core::Hashable
1192
+
1193
+ # The resource name of the resolved authorization. Format: projects/`project`/
1194
+ # locations/`location`/authProviders/`auth_provider`/authorizations/`
1195
+ # authorization`
1196
+ # Corresponds to the JSON property `authorization`
1197
+ # @return [String]
1198
+ attr_accessor :authorization
1199
+
1200
+ def initialize(**args)
1201
+ update!(**args)
1202
+ end
1203
+
1204
+ # Update properties of this object
1205
+ def update!(**args)
1206
+ @authorization = args[:authorization] if args.key?(:authorization)
1207
+ end
1208
+ end
1209
+
928
1210
  # Request message for `RevokeAuthorization`.
929
1211
  class RevokeAuthorizationRequest
930
1212
  include Google::Apis::Core::Hashable
@@ -1165,6 +1447,19 @@ module Google
1165
1447
  @request_id = args[:request_id] if args.key?(:request_id)
1166
1448
  end
1167
1449
  end
1450
+
1451
+ # Configuration for Workforce Identity Federation usage as the issuer.
1452
+ class WorkforceIdentityFederation
1453
+ include Google::Apis::Core::Hashable
1454
+
1455
+ def initialize(**args)
1456
+ update!(**args)
1457
+ end
1458
+
1459
+ # Update properties of this object
1460
+ def update!(**args)
1461
+ end
1462
+ end
1168
1463
  end
1169
1464
  end
1170
1465
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AgentidentityV1
18
18
  # Version of the google-apis-agentidentity_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260823"
25
+ REVISION = "20261022"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AgentIdentityPool
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class ApiKeyParams
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -70,6 +76,42 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class ClientAssertionJwtAuth
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ClientSecretAuth
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ConnectorReferenceAuthProvider
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CrossAppAccessAuthProvider
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CustomIssuer
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DirectIdJagInput
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
73
115
  class DisableAuthProviderRequest
74
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
117
 
@@ -100,6 +142,18 @@ module Google
100
142
  include Google::Apis::Core::JsonObjectSupport
101
143
  end
102
144
 
145
+ class GoogleAccount
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class IdTokenProcessingConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
103
157
  class ListAccessSummariesResponse
104
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
159
 
@@ -148,6 +202,18 @@ module Google
148
202
  include Google::Apis::Core::JsonObjectSupport
149
203
  end
150
204
 
205
+ class ResolveAuthorizationRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ResolveAuthorizationResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
151
217
  class RevokeAuthorizationRequest
152
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
219
 
@@ -196,6 +262,12 @@ module Google
196
262
  include Google::Apis::Core::JsonObjectSupport
197
263
  end
198
264
 
265
+ class WorkforceIdentityFederation
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
199
271
  class AccessSummary
200
272
  # @private
201
273
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -213,6 +285,12 @@ module Google
213
285
  end
214
286
  end
215
287
 
288
+ class AgentIdentityPool
289
+ # @private
290
+ class Representation < Google::Apis::Core::JsonRepresentation
291
+ end
292
+ end
293
+
216
294
  class ApiKeyParams
217
295
  # @private
218
296
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -261,12 +339,16 @@ module Google
261
339
  class Representation < Google::Apis::Core::JsonRepresentation
262
340
  property :api_key, as: 'apiKey', class: Google::Apis::AgentidentityV1::ApiKeyParams, decorator: Google::Apis::AgentidentityV1::ApiKeyParams::Representation
263
341
 
342
+ property :connector_reference_auth_provider, as: 'connectorReferenceAuthProvider', class: Google::Apis::AgentidentityV1::ConnectorReferenceAuthProvider, decorator: Google::Apis::AgentidentityV1::ConnectorReferenceAuthProvider::Representation
343
+
264
344
  property :ge_auth_provider, as: 'geAuthProvider', class: Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams, decorator: Google::Apis::AgentidentityV1::GeminiEnterpriseAuthProviderParams::Representation
265
345
 
266
346
  property :three_legged_oauth, as: 'threeLeggedOauth', class: Google::Apis::AgentidentityV1::ThreeLeggedOAuth, decorator: Google::Apis::AgentidentityV1::ThreeLeggedOAuth::Representation
267
347
 
268
348
  property :two_legged_oauth, as: 'twoLeggedOauth', class: Google::Apis::AgentidentityV1::TwoLeggedOAuth, decorator: Google::Apis::AgentidentityV1::TwoLeggedOAuth::Representation
269
349
 
350
+ property :xaa_auth_provider, as: 'xaaAuthProvider', class: Google::Apis::AgentidentityV1::CrossAppAccessAuthProvider, decorator: Google::Apis::AgentidentityV1::CrossAppAccessAuthProvider::Representation
351
+
270
352
  end
271
353
  end
272
354
 
@@ -292,6 +374,64 @@ module Google
292
374
  end
293
375
  end
294
376
 
377
+ class ClientAssertionJwtAuth
378
+ # @private
379
+ class Representation < Google::Apis::Core::JsonRepresentation
380
+ property :client_id, as: 'clientId'
381
+ end
382
+ end
383
+
384
+ class ClientSecretAuth
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :client_id, as: 'clientId'
388
+ property :client_secret, as: 'clientSecret'
389
+ end
390
+ end
391
+
392
+ class ConnectorReferenceAuthProvider
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ collection :authorization_details, as: 'authorizationDetails'
396
+ property :connector, as: 'connector'
397
+ end
398
+ end
399
+
400
+ class CrossAppAccessAuthProvider
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ hash :additional_parameters, as: 'additionalParameters'
404
+ property :client_assertion_jwt_auth, as: 'clientAssertionJwtAuth', class: Google::Apis::AgentidentityV1::ClientAssertionJwtAuth, decorator: Google::Apis::AgentidentityV1::ClientAssertionJwtAuth::Representation
405
+
406
+ property :client_secret_auth, as: 'clientSecretAuth', class: Google::Apis::AgentidentityV1::ClientSecretAuth, decorator: Google::Apis::AgentidentityV1::ClientSecretAuth::Representation
407
+
408
+ property :custom_issuer, as: 'customIssuer', class: Google::Apis::AgentidentityV1::CustomIssuer, decorator: Google::Apis::AgentidentityV1::CustomIssuer::Representation
409
+
410
+ property :google_account, as: 'googleAccount', class: Google::Apis::AgentidentityV1::GoogleAccount, decorator: Google::Apis::AgentidentityV1::GoogleAccount::Representation
411
+
412
+ property :id_jag_input, as: 'idJagInput', class: Google::Apis::AgentidentityV1::DirectIdJagInput, decorator: Google::Apis::AgentidentityV1::DirectIdJagInput::Representation
413
+
414
+ property :id_token_input, as: 'idTokenInput', class: Google::Apis::AgentidentityV1::IdTokenProcessingConfig, decorator: Google::Apis::AgentidentityV1::IdTokenProcessingConfig::Representation
415
+
416
+ property :workforce_identity_federation, as: 'workforceIdentityFederation', class: Google::Apis::AgentidentityV1::WorkforceIdentityFederation, decorator: Google::Apis::AgentidentityV1::WorkforceIdentityFederation::Representation
417
+
418
+ end
419
+ end
420
+
421
+ class CustomIssuer
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :issuer, as: 'issuer'
425
+ property :token_url, as: 'tokenUrl'
426
+ end
427
+ end
428
+
429
+ class DirectIdJagInput
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ end
433
+ end
434
+
295
435
  class DisableAuthProviderRequest
296
436
  # @private
297
437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -328,6 +468,22 @@ module Google
328
468
  end
329
469
  end
330
470
 
471
+ class GoogleAccount
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ end
475
+ end
476
+
477
+ class IdTokenProcessingConfig
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :agent_identity_pool, as: 'agentIdentityPool', class: Google::Apis::AgentidentityV1::AgentIdentityPool, decorator: Google::Apis::AgentidentityV1::AgentIdentityPool::Representation
481
+
482
+ hash :id_jag_additional_claims, as: 'idJagAdditionalClaims'
483
+ property :id_jag_auth_provider, as: 'idJagAuthProvider'
484
+ end
485
+ end
486
+
331
487
  class ListAccessSummariesResponse
332
488
  # @private
333
489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -406,6 +562,20 @@ module Google
406
562
  end
407
563
  end
408
564
 
565
+ class ResolveAuthorizationRequest
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :client_user_id, as: 'clientUserId'
569
+ end
570
+ end
571
+
572
+ class ResolveAuthorizationResponse
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :authorization, as: 'authorization'
576
+ end
577
+ end
578
+
409
579
  class RevokeAuthorizationRequest
410
580
  # @private
411
581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -470,6 +640,12 @@ module Google
470
640
  property :request_id, as: 'requestId'
471
641
  end
472
642
  end
643
+
644
+ class WorkforceIdentityFederation
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ end
648
+ end
473
649
  end
474
650
  end
475
651
  end
@@ -649,6 +649,41 @@ module Google
649
649
  execute_or_queue_command(command, &block)
650
650
  end
651
651
 
652
+ # Resolves an authorization for a user on an auth provider, creating one if it
653
+ # does not exist or returning an existing one.
654
+ # @param [String] name
655
+ # Required. The name of the auth provider to resolve authorization for. Format:
656
+ # projects/`project`/locations/`location`/authProviders/`auth_provider`
657
+ # @param [Google::Apis::AgentidentityV1::ResolveAuthorizationRequest] resolve_authorization_request_object
658
+ # @param [String] fields
659
+ # Selector specifying which fields to include in a partial response.
660
+ # @param [String] quota_user
661
+ # Available to use for quota purposes for server-side applications. Can be any
662
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
663
+ # @param [Google::Apis::RequestOptions] options
664
+ # Request-specific options
665
+ #
666
+ # @yield [result, err] Result & error if block supplied
667
+ # @yieldparam result [Google::Apis::AgentidentityV1::ResolveAuthorizationResponse] parsed result object
668
+ # @yieldparam err [StandardError] error object if request failed
669
+ #
670
+ # @return [Google::Apis::AgentidentityV1::ResolveAuthorizationResponse]
671
+ #
672
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
673
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
674
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
675
+ def resolve_auth_provider_authorization(name, resolve_authorization_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
676
+ command = make_simple_command(:post, 'v1/{+name}:resolveAuthorization', options)
677
+ command.request_representation = Google::Apis::AgentidentityV1::ResolveAuthorizationRequest::Representation
678
+ command.request_object = resolve_authorization_request_object
679
+ command.response_representation = Google::Apis::AgentidentityV1::ResolveAuthorizationResponse::Representation
680
+ command.response_class = Google::Apis::AgentidentityV1::ResolveAuthorizationResponse
681
+ command.params['name'] = name unless name.nil?
682
+ command.query['fields'] = fields unless fields.nil?
683
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
684
+ execute_or_queue_command(command, &block)
685
+ end
686
+
652
687
  # Revokes all authorizations for a specific user on an auth provider. This
653
688
  # deletes all authorization records associated with the user and auth provider,
654
689
  # effectively revoking access across all agents.
@@ -869,6 +904,51 @@ module Google
869
904
  execute_or_queue_command(command, &block)
870
905
  end
871
906
 
907
+ # Gets the access control policy for a resource. Returns an empty policy if the
908
+ # resource exists and does not have a policy set.
909
+ # @param [String] resource
910
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
911
+ # names](https://cloud.google.com/apis/design/resource_names) for the
912
+ # appropriate value for this field.
913
+ # @param [Fixnum] options_requested_policy_version
914
+ # Optional. The maximum policy version that will be used to format the policy.
915
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
916
+ # rejected. Requests for policies with any conditional role bindings must
917
+ # specify version 3. Policies with no conditional role bindings may specify any
918
+ # valid value or leave the field unset. The policy in the response might use the
919
+ # policy version that you specified, or it might use a lower policy version. For
920
+ # example, if you specify version 3, but the policy has no conditional role
921
+ # bindings, the response uses version 1. To learn which resources support
922
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
923
+ # google.com/iam/help/conditions/resource-policies).
924
+ # @param [String] fields
925
+ # Selector specifying which fields to include in a partial response.
926
+ # @param [String] quota_user
927
+ # Available to use for quota purposes for server-side applications. Can be any
928
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
929
+ # @param [Google::Apis::RequestOptions] options
930
+ # Request-specific options
931
+ #
932
+ # @yield [result, err] Result & error if block supplied
933
+ # @yieldparam result [Google::Apis::AgentidentityV1::Policy] parsed result object
934
+ # @yieldparam err [StandardError] error object if request failed
935
+ #
936
+ # @return [Google::Apis::AgentidentityV1::Policy]
937
+ #
938
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
939
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
940
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
941
+ def get_project_location_auth_provider_authorization_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
942
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
943
+ command.response_representation = Google::Apis::AgentidentityV1::Policy::Representation
944
+ command.response_class = Google::Apis::AgentidentityV1::Policy
945
+ command.params['resource'] = resource unless resource.nil?
946
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
947
+ command.query['fields'] = fields unless fields.nil?
948
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
949
+ execute_or_queue_command(command, &block)
950
+ end
951
+
872
952
  # Lists authorizations in a given project and location.
873
953
  # @param [String] parent
874
954
  # Required. The parent resource where the search is performed. Format: projects/`
@@ -918,6 +998,82 @@ module Google
918
998
  command.query['quotaUser'] = quota_user unless quota_user.nil?
919
999
  execute_or_queue_command(command, &block)
920
1000
  end
1001
+
1002
+ # Sets the access control policy on the specified resource. Replaces any
1003
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1004
+ # PERMISSION_DENIED` errors.
1005
+ # @param [String] resource
1006
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1007
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1008
+ # appropriate value for this field.
1009
+ # @param [Google::Apis::AgentidentityV1::SetIamPolicyRequest] set_iam_policy_request_object
1010
+ # @param [String] fields
1011
+ # Selector specifying which fields to include in a partial response.
1012
+ # @param [String] quota_user
1013
+ # Available to use for quota purposes for server-side applications. Can be any
1014
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1015
+ # @param [Google::Apis::RequestOptions] options
1016
+ # Request-specific options
1017
+ #
1018
+ # @yield [result, err] Result & error if block supplied
1019
+ # @yieldparam result [Google::Apis::AgentidentityV1::Policy] parsed result object
1020
+ # @yieldparam err [StandardError] error object if request failed
1021
+ #
1022
+ # @return [Google::Apis::AgentidentityV1::Policy]
1023
+ #
1024
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1025
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1026
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1027
+ def set_authorization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1028
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1029
+ command.request_representation = Google::Apis::AgentidentityV1::SetIamPolicyRequest::Representation
1030
+ command.request_object = set_iam_policy_request_object
1031
+ command.response_representation = Google::Apis::AgentidentityV1::Policy::Representation
1032
+ command.response_class = Google::Apis::AgentidentityV1::Policy
1033
+ command.params['resource'] = resource unless resource.nil?
1034
+ command.query['fields'] = fields unless fields.nil?
1035
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1036
+ execute_or_queue_command(command, &block)
1037
+ end
1038
+
1039
+ # Returns permissions that a caller has on the specified resource. If the
1040
+ # resource does not exist, this will return an empty set of permissions, not a `
1041
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1042
+ # permission-aware UIs and command-line tools, not for authorization checking.
1043
+ # This operation may "fail open" without warning.
1044
+ # @param [String] resource
1045
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1046
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1047
+ # appropriate value for this field.
1048
+ # @param [Google::Apis::AgentidentityV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1049
+ # @param [String] fields
1050
+ # Selector specifying which fields to include in a partial response.
1051
+ # @param [String] quota_user
1052
+ # Available to use for quota purposes for server-side applications. Can be any
1053
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1054
+ # @param [Google::Apis::RequestOptions] options
1055
+ # Request-specific options
1056
+ #
1057
+ # @yield [result, err] Result & error if block supplied
1058
+ # @yieldparam result [Google::Apis::AgentidentityV1::TestIamPermissionsResponse] parsed result object
1059
+ # @yieldparam err [StandardError] error object if request failed
1060
+ #
1061
+ # @return [Google::Apis::AgentidentityV1::TestIamPermissionsResponse]
1062
+ #
1063
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1064
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1065
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1066
+ def test_authorization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1067
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1068
+ command.request_representation = Google::Apis::AgentidentityV1::TestIamPermissionsRequest::Representation
1069
+ command.request_object = test_iam_permissions_request_object
1070
+ command.response_representation = Google::Apis::AgentidentityV1::TestIamPermissionsResponse::Representation
1071
+ command.response_class = Google::Apis::AgentidentityV1::TestIamPermissionsResponse
1072
+ command.params['resource'] = resource unless resource.nil?
1073
+ command.query['fields'] = fields unless fields.nil?
1074
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1075
+ execute_or_queue_command(command, &block)
1076
+ end
921
1077
 
922
1078
  protected
923
1079
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-agentidentity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentidentity_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-agentidentity_v1/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-agentidentity_v1/v0.4.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentidentity_v1
62
62
  rdoc_options: []
63
63
  require_paths: