google-apis-iam_v1 0.92.0 → 0.94.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 +4 -4
- data/CHANGELOG.md +11 -2
- data/lib/google/apis/iam_v1/classes.rb +62 -13
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/representations.rb +15 -0
- data/lib/google/apis/iam_v1/service.rb +39 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f3f57bc3de7ecd313978b66eb5d0cb03f0f4c78d8f5afb7a53e1273edfd92f5
|
|
4
|
+
data.tar.gz: 92a7f9fb25a76d13258c45fbe6c048aa8a948bd7fe5fafa031c8c0857a02a982
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3f479d097ff6d0bb455a0edc1433cc21f232e63f2224758c959435f1341380cfca4cbb11ca5fe4774d9f7628fecff15d0d66eaec20a7059a16c7a8b890e1a5e
|
|
7
|
+
data.tar.gz: 9cfc63977228ce48d2bac6ae16d8a7057d78156d78e7cb258bd1eeabcbd2ae8b22b395dbc0a735ac985fa1229fc0a5cf2227fca691d1475340349793b7a7c630
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
# Release history for google-apis-iam_v1
|
|
2
2
|
|
|
3
|
-
### v0.
|
|
3
|
+
### v0.94.0 (2026-10-21)
|
|
4
4
|
|
|
5
|
-
* Regenerated from discovery document revision
|
|
5
|
+
* Regenerated from discovery document revision 20261016
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
8
|
+
### v0.93.0 (2026-10-04)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260925
|
|
11
|
+
|
|
12
|
+
### v0.92.0 (2026-09-24)
|
|
13
|
+
|
|
14
|
+
* Regenerated from discovery document revision 20260918
|
|
6
15
|
|
|
7
16
|
### v0.91.0 (2026-09-06)
|
|
8
17
|
|
|
@@ -969,13 +969,13 @@ module Google
|
|
|
969
969
|
# @return [Fixnum]
|
|
970
970
|
attr_accessor :rotation_window_percentage
|
|
971
971
|
|
|
972
|
-
# Optional.
|
|
973
|
-
# default CA. A default CA in the same region as the workload will
|
|
974
|
-
# to issue the certificate. Enabling this will clear any existing `
|
|
975
|
-
# configuration to provision the certificates. NOTE: This field is
|
|
976
|
-
# exclusive with `ca_pools`. If this flag is enabled, certificates will
|
|
977
|
-
# automatically provisioned from the default shared CAs. This flag should not
|
|
978
|
-
# set if you want to use your own CA pools to provision the certificates.
|
|
972
|
+
# Optional. Determines whether the trust domain utilizes the Google Cloud-
|
|
973
|
+
# provisioned default CA. A default CA in the same region as the workload will
|
|
974
|
+
# be selected to issue the certificate. Enabling this will clear any existing `
|
|
975
|
+
# ca_pools` configuration to provision the certificates. NOTE: This field is
|
|
976
|
+
# mutually exclusive with `ca_pools`. If this flag is enabled, certificates will
|
|
977
|
+
# be automatically provisioned from the default shared CAs. This flag should not
|
|
978
|
+
# be set if you want to use your own CA pools to provision the certificates.
|
|
979
979
|
# Corresponds to the JSON property `useDefaultSharedCa`
|
|
980
980
|
# @return [Boolean]
|
|
981
981
|
attr_accessor :use_default_shared_ca
|
|
@@ -1776,6 +1776,23 @@ module Google
|
|
|
1776
1776
|
# @return [Array<String>]
|
|
1777
1777
|
attr_accessor :allowed_audiences
|
|
1778
1778
|
|
|
1779
|
+
# Optional. The URL to fetch the OIDC discovery document from, overriding the
|
|
1780
|
+
# default URL derived from `issuer_uri`. If not set, `discovery_uri` defaults to
|
|
1781
|
+
# `issuer_uri` with `/.well-known/openid-configuration` appended, as per the
|
|
1782
|
+
# OpenID Connect Discovery 1.0 specification. If set, `discovery_uri` must meet
|
|
1783
|
+
# the following requirements: - Must start with `https://`. - Must not exceed
|
|
1784
|
+
# 2000 characters. - The scheme, host, and port must match `issuer_uri`. - The
|
|
1785
|
+
# path must contain `/.well-known/` (where `` is not empty, such as `openid-
|
|
1786
|
+
# configuration`) and conform to the `issuer_uri` topology: - The well-known
|
|
1787
|
+
# path segment is inserted before the issuer path (for example, `https://example.
|
|
1788
|
+
# com/.well-known/openid-configuration/tenant1` for issuer `https://example.com/
|
|
1789
|
+
# tenant1`), or - The well-known path segment is appended under the issuer path (
|
|
1790
|
+
# for example, `https://example.com/tenant1/.well-known/openid-configuration`
|
|
1791
|
+
# for issuer `https://example.com/tenant1`).
|
|
1792
|
+
# Corresponds to the JSON property `discoveryUri`
|
|
1793
|
+
# @return [String]
|
|
1794
|
+
attr_accessor :discovery_uri
|
|
1795
|
+
|
|
1779
1796
|
# Required. The OIDC `issuer_uri`. Must be an HTTPS endpoint. Per OpenID Connect
|
|
1780
1797
|
# Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's
|
|
1781
1798
|
# public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token.
|
|
@@ -1802,6 +1819,7 @@ module Google
|
|
|
1802
1819
|
# Update properties of this object
|
|
1803
1820
|
def update!(**args)
|
|
1804
1821
|
@allowed_audiences = args[:allowed_audiences] if args.key?(:allowed_audiences)
|
|
1822
|
+
@discovery_uri = args[:discovery_uri] if args.key?(:discovery_uri)
|
|
1805
1823
|
@issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
|
|
1806
1824
|
@jwks_json = args[:jwks_json] if args.key?(:jwks_json)
|
|
1807
1825
|
end
|
|
@@ -2404,6 +2422,19 @@ module Google
|
|
|
2404
2422
|
end
|
|
2405
2423
|
end
|
|
2406
2424
|
|
|
2425
|
+
# Request message for RevokeWorkforcePoolSubjectSessions.
|
|
2426
|
+
class RevokeWorkforcePoolSubjectSessionsRequest
|
|
2427
|
+
include Google::Apis::Core::Hashable
|
|
2428
|
+
|
|
2429
|
+
def initialize(**args)
|
|
2430
|
+
update!(**args)
|
|
2431
|
+
end
|
|
2432
|
+
|
|
2433
|
+
# Update properties of this object
|
|
2434
|
+
def update!(**args)
|
|
2435
|
+
end
|
|
2436
|
+
end
|
|
2437
|
+
|
|
2407
2438
|
# A role in the Identity and Access Management API.
|
|
2408
2439
|
class Role
|
|
2409
2440
|
include Google::Apis::Core::Hashable
|
|
@@ -3024,7 +3055,7 @@ module Google
|
|
|
3024
3055
|
# @return [Array<Google::Apis::IamV1::TrustAnchor>]
|
|
3025
3056
|
attr_accessor :trust_anchors
|
|
3026
3057
|
|
|
3027
|
-
# Optional.
|
|
3058
|
+
# Optional. Determines whether the trust bundle includes the private CA managed
|
|
3028
3059
|
# identity regional root public certificates. Important: `
|
|
3029
3060
|
# trust_default_shared_ca` is only supported for managed identity trust domain
|
|
3030
3061
|
# resource.
|
|
@@ -3495,6 +3526,11 @@ module Google
|
|
|
3495
3526
|
# @return [String]
|
|
3496
3527
|
attr_accessor :state
|
|
3497
3528
|
|
|
3529
|
+
# Optional. The vendor type of the third-party identity provider.
|
|
3530
|
+
# Corresponds to the JSON property `vendorType`
|
|
3531
|
+
# @return [String]
|
|
3532
|
+
attr_accessor :vendor_type
|
|
3533
|
+
|
|
3498
3534
|
def initialize(**args)
|
|
3499
3535
|
update!(**args)
|
|
3500
3536
|
end
|
|
@@ -3515,6 +3551,7 @@ module Google
|
|
|
3515
3551
|
@saml = args[:saml] if args.key?(:saml)
|
|
3516
3552
|
@scim_usage = args[:scim_usage] if args.key?(:scim_usage)
|
|
3517
3553
|
@state = args[:state] if args.key?(:state)
|
|
3554
|
+
@vendor_type = args[:vendor_type] if args.key?(:vendor_type)
|
|
3518
3555
|
end
|
|
3519
3556
|
end
|
|
3520
3557
|
|
|
@@ -3891,6 +3928,14 @@ module Google
|
|
|
3891
3928
|
class WorkloadIdentityPoolProvider
|
|
3892
3929
|
include Google::Apis::Core::Hashable
|
|
3893
3930
|
|
|
3931
|
+
# Optional. A list of the resource names of WorkloadIdentityPoolProviders in the
|
|
3932
|
+
# same pool that are authorized to issue actor tokens for this provider. An
|
|
3933
|
+
# actor token represents the identity of the acting party to whom authority is
|
|
3934
|
+
# delegated. At most 3 actor providers can be specified.
|
|
3935
|
+
# Corresponds to the JSON property `actorProviders`
|
|
3936
|
+
# @return [Array<String>]
|
|
3937
|
+
attr_accessor :actor_providers
|
|
3938
|
+
|
|
3894
3939
|
# Optional. [A Common Expression Language](https://opensource.google/projects/
|
|
3895
3940
|
# cel) expression, in plain text, to restrict what otherwise valid
|
|
3896
3941
|
# authentication credentials issued by the provider should not be accepted. The
|
|
@@ -3899,11 +3944,14 @@ module Google
|
|
|
3899
3944
|
# JSON representing the authentication credential issued by the provider. * `
|
|
3900
3945
|
# google`: The Google attributes mapped from the assertion in the `
|
|
3901
3946
|
# attribute_mappings`. * `attribute`: The custom attributes mapped from the
|
|
3902
|
-
# assertion in the `attribute_mappings`. The maximum length of the
|
|
3903
|
-
#
|
|
3904
|
-
#
|
|
3905
|
-
#
|
|
3906
|
-
#
|
|
3947
|
+
# assertion in the `attribute_mappings`. The maximum length of the `
|
|
3948
|
+
# attribute_condition` expression is 4,096 characters. Providing a condition
|
|
3949
|
+
# longer than this will result in an error. If unspecified, all valid
|
|
3950
|
+
# authentication credentials are accepted. However, multi-tenant identity
|
|
3951
|
+
# providers (such as GitHub or Terraform Cloud) require an `attribute_condition`
|
|
3952
|
+
# to prevent token spoofing. The following example shows how to only allow
|
|
3953
|
+
# credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in
|
|
3954
|
+
# google.groups" ```
|
|
3907
3955
|
# Corresponds to the JSON property `attributeCondition`
|
|
3908
3956
|
# @return [String]
|
|
3909
3957
|
attr_accessor :attribute_condition
|
|
@@ -4010,6 +4058,7 @@ module Google
|
|
|
4010
4058
|
|
|
4011
4059
|
# Update properties of this object
|
|
4012
4060
|
def update!(**args)
|
|
4061
|
+
@actor_providers = args[:actor_providers] if args.key?(:actor_providers)
|
|
4013
4062
|
@attribute_condition = args[:attribute_condition] if args.key?(:attribute_condition)
|
|
4014
4063
|
@attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
|
|
4015
4064
|
@aws = args[:aws] if args.key?(:aws)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module IamV1
|
|
18
18
|
# Version of the google-apis-iam_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.94.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261016"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -454,6 +454,12 @@ module Google
|
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
|
455
455
|
end
|
|
456
456
|
|
|
457
|
+
class RevokeWorkforcePoolSubjectSessionsRequest
|
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
+
|
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
+
end
|
|
462
|
+
|
|
457
463
|
class Role
|
|
458
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
465
|
|
|
@@ -1197,6 +1203,7 @@ module Google
|
|
|
1197
1203
|
# @private
|
|
1198
1204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1199
1205
|
collection :allowed_audiences, as: 'allowedAudiences'
|
|
1206
|
+
property :discovery_uri, as: 'discoveryUri'
|
|
1200
1207
|
property :issuer_uri, as: 'issuerUri'
|
|
1201
1208
|
property :jwks_json, as: 'jwksJson'
|
|
1202
1209
|
end
|
|
@@ -1353,6 +1360,12 @@ module Google
|
|
|
1353
1360
|
end
|
|
1354
1361
|
end
|
|
1355
1362
|
|
|
1363
|
+
class RevokeWorkforcePoolSubjectSessionsRequest
|
|
1364
|
+
# @private
|
|
1365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1366
|
+
end
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1356
1369
|
class Role
|
|
1357
1370
|
# @private
|
|
1358
1371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1633,6 +1646,7 @@ module Google
|
|
|
1633
1646
|
|
|
1634
1647
|
property :scim_usage, as: 'scimUsage'
|
|
1635
1648
|
property :state, as: 'state'
|
|
1649
|
+
property :vendor_type, as: 'vendorType'
|
|
1636
1650
|
end
|
|
1637
1651
|
end
|
|
1638
1652
|
|
|
@@ -1722,6 +1736,7 @@ module Google
|
|
|
1722
1736
|
class WorkloadIdentityPoolProvider
|
|
1723
1737
|
# @private
|
|
1724
1738
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1739
|
+
collection :actor_providers, as: 'actorProviders'
|
|
1725
1740
|
property :attribute_condition, as: 'attributeCondition'
|
|
1726
1741
|
hash :attribute_mapping, as: 'attributeMapping'
|
|
1727
1742
|
property :aws, as: 'aws', class: Google::Apis::IamV1::Aws, decorator: Google::Apis::IamV1::Aws::Representation
|
|
@@ -1520,6 +1520,45 @@ module Google
|
|
|
1520
1520
|
execute_or_queue_command(command, &block)
|
|
1521
1521
|
end
|
|
1522
1522
|
|
|
1523
|
+
# Revokes all sessions for the specified WorkforcePoolSubject. Revoking sessions
|
|
1524
|
+
# invalidates all active sessions and previously issued credentials for the
|
|
1525
|
+
# subject, requiring the user to re-authenticate with the identity provider.
|
|
1526
|
+
# @param [String] name
|
|
1527
|
+
# Required. The resource name of the WorkforcePoolSubject. Special characters,
|
|
1528
|
+
# such as `/` and `:`, must be escaped, because all URLs must conform to the "
|
|
1529
|
+
# When to Escape and Unescape" section of [RFC 3986](https://www.rfc-editor.org/
|
|
1530
|
+
# info/rfc3986/). Format: `locations/`location`/workforcePools/`
|
|
1531
|
+
# workforce_pool_id`/subjects/`subject_id``
|
|
1532
|
+
# @param [Google::Apis::IamV1::RevokeWorkforcePoolSubjectSessionsRequest] revoke_workforce_pool_subject_sessions_request_object
|
|
1533
|
+
# @param [String] fields
|
|
1534
|
+
# Selector specifying which fields to include in a partial response.
|
|
1535
|
+
# @param [String] quota_user
|
|
1536
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1537
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1538
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1539
|
+
# Request-specific options
|
|
1540
|
+
#
|
|
1541
|
+
# @yield [result, err] Result & error if block supplied
|
|
1542
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
|
1543
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1544
|
+
#
|
|
1545
|
+
# @return [Google::Apis::IamV1::Operation]
|
|
1546
|
+
#
|
|
1547
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1548
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1549
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1550
|
+
def revoke_location_workforce_pool_subject_sessions(name, revoke_workforce_pool_subject_sessions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1551
|
+
command = make_simple_command(:post, 'v1/{+name}:revokeSessions', options)
|
|
1552
|
+
command.request_representation = Google::Apis::IamV1::RevokeWorkforcePoolSubjectSessionsRequest::Representation
|
|
1553
|
+
command.request_object = revoke_workforce_pool_subject_sessions_request_object
|
|
1554
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
|
1555
|
+
command.response_class = Google::Apis::IamV1::Operation
|
|
1556
|
+
command.params['name'] = name unless name.nil?
|
|
1557
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1558
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1559
|
+
execute_or_queue_command(command, &block)
|
|
1560
|
+
end
|
|
1561
|
+
|
|
1523
1562
|
# Undeletes a WorkforcePoolSubject, as long as it was deleted fewer than 30 days
|
|
1524
1563
|
# ago.
|
|
1525
1564
|
# @param [String] name
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-iam_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.94.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.94.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
|
63
63
|
rdoc_options: []
|
|
64
64
|
require_paths:
|