google-apis-iam_v1 0.66.0 → 0.68.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/iam_v1/classes.rb +83 -34
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/representations.rb +17 -0
- data/lib/google/apis/iam_v1/service.rb +5 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f2ddf16efa341e2568c15e77c8a3afa6231de7e4390ede547c16b1b9bb66310
|
4
|
+
data.tar.gz: e171c1c2ed4d70e03a56a4e4386af50ca8537affb84587091d1987a7bb5b9c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d99db3f7afcb4c9e8deaa62461ec7925f0a82504bc8e128897f231d74e78f12267d24578742ee35f963b0b9868ac4a648b513ff2d41d348b6ee551fdad65f71
|
7
|
+
data.tar.gz: 11f921f2155d20a98cf96d3bd75d3ea1a6e1bd91e288bfa9719474b7900f5bc2a76f36d2010961b905c27c81786d385bc453c6aa94e4fedce2c16b472c41ce63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.68.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250509
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
8
|
+
### v0.67.0 (2025-04-20)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250411
|
11
|
+
|
3
12
|
### v0.66.0 (2025-03-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250320
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/iam/) may provide guidance
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -755,12 +755,20 @@ module Google
|
|
755
755
|
class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters
|
756
756
|
include Google::Apis::Core::Hashable
|
757
757
|
|
758
|
-
# Optional. The filter used to request specific records from IdP.
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
#
|
758
|
+
# Optional. The filter used to request specific records from the IdP. By default,
|
759
|
+
# all of the groups that are associated with a user are fetched. For Microsoft
|
760
|
+
# Entra ID, you can add `$search` query parameters using [Keyword Query Language]
|
761
|
+
# (https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-
|
762
|
+
# query-language-kql-syntax-reference). To learn more about `$search` querying
|
763
|
+
# in Microsoft Entra ID, see [Use the `$search` query parameter] (https://learn.
|
764
|
+
# microsoft.com/en-us/graph/search-query-parameter). Additionally, Workforce
|
765
|
+
# Identity Federation automatically adds the following [`$filter` query
|
766
|
+
# parameters] (https://learn.microsoft.com/en-us/graph/filter-query-parameter),
|
767
|
+
# based on the value of `attributes_type`. Values passed to `filter` are
|
768
|
+
# converted to `$search` query parameters. Additional `$filter` query parameters
|
769
|
+
# cannot be added using this field. * `AZURE_AD_GROUPS_MAIL`: `mailEnabled` and `
|
770
|
+
# securityEnabled` filters are applied. * `AZURE_AD_GROUPS_ID`: `securityEnabled`
|
771
|
+
# filter is applied.
|
764
772
|
# Corresponds to the JSON property `filter`
|
765
773
|
# @return [String]
|
766
774
|
attr_accessor :filter
|
@@ -944,34 +952,35 @@ module Google
|
|
944
952
|
class InlineCertificateIssuanceConfig
|
945
953
|
include Google::Apis::Core::Hashable
|
946
954
|
|
947
|
-
# Optional. A required mapping of a
|
948
|
-
# in that region used for certificate issuance, adhering
|
949
|
-
# Key format: A supported cloud region name
|
950
|
-
# identifier in the corresponding map entry's value. *
|
951
|
-
# pool resource path format like: "projects/`project`/
|
952
|
-
# caPools/`ca_pool`" * Region Matching: Workloads are ONLY
|
953
|
-
# from CA pools within the same region. Also the CA pool
|
954
|
-
# match the workload's region (key).
|
955
|
+
# Optional. A required mapping of a Google Cloud region to the CA pool resource
|
956
|
+
# located in that region. The CA pool is used for certificate issuance, adhering
|
957
|
+
# to the following constraints: * Key format: A supported cloud region name
|
958
|
+
# equivalent to the location identifier in the corresponding map entry's value. *
|
959
|
+
# Value format: A valid CA pool resource path format like: "projects/`project`/
|
960
|
+
# locations/`location`/caPools/`ca_pool`" * Region Matching: Workloads are ONLY
|
961
|
+
# issued certificates from CA pools within the same region. Also the CA pool
|
962
|
+
# region (in value) must match the workload's region (key).
|
955
963
|
# Corresponds to the JSON property `caPools`
|
956
964
|
# @return [Hash<String,String>]
|
957
965
|
attr_accessor :ca_pools
|
958
966
|
|
959
967
|
# Optional. Key algorithm to use when generating the key pair. This key pair
|
960
|
-
# will be used to create the certificate. If
|
968
|
+
# will be used to create the certificate. If not specified, this will default to
|
961
969
|
# ECDSA_P256.
|
962
970
|
# Corresponds to the JSON property `keyAlgorithm`
|
963
971
|
# @return [String]
|
964
972
|
attr_accessor :key_algorithm
|
965
973
|
|
966
974
|
# Optional. Lifetime of the workload certificates issued by the CA pool. Must be
|
967
|
-
# between 10 hours
|
975
|
+
# between 10 hours and 30 days. If not specified, this will be defaulted to 24
|
976
|
+
# hours.
|
968
977
|
# Corresponds to the JSON property `lifetime`
|
969
978
|
# @return [String]
|
970
979
|
attr_accessor :lifetime
|
971
980
|
|
972
981
|
# Optional. Rotation window percentage indicating when certificate rotation
|
973
|
-
# should be initiated based on remaining lifetime. Must be between 10
|
974
|
-
#
|
982
|
+
# should be initiated based on remaining lifetime. Must be between 10 and 80. If
|
983
|
+
# not specified, this will be defaulted to 50.
|
975
984
|
# Corresponds to the JSON property `rotationWindowPercentage`
|
976
985
|
# @return [Fixnum]
|
977
986
|
attr_accessor :rotation_window_percentage
|
@@ -998,12 +1007,12 @@ module Google
|
|
998
1007
|
include Google::Apis::Core::Hashable
|
999
1008
|
|
1000
1009
|
# Optional. Maps specific trust domains (e.g., "example.com") to their
|
1001
|
-
# corresponding TrustStore
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
#
|
1010
|
+
# corresponding TrustStore, which contain the trusted root certificates for that
|
1011
|
+
# domain. There can be a maximum of 10 trust domain entries in this map. Note
|
1012
|
+
# that a trust domain automatically trusts itself and don't need to be specified
|
1013
|
+
# here. If however, this WorkloadIdentityPool's trust domain contains any trust
|
1014
|
+
# anchors in the additional_trust_bundles map, those trust anchors will be *
|
1015
|
+
# appended to* the trust bundle automatically derived from your
|
1007
1016
|
# InlineCertificateIssuanceConfig's ca_pools.
|
1008
1017
|
# Corresponds to the JSON property `additionalTrustBundles`
|
1009
1018
|
# @return [Hash<String,Google::Apis::IamV1::TrustStore>]
|
@@ -1717,7 +1726,10 @@ module Google
|
|
1717
1726
|
# @return [Array<String>]
|
1718
1727
|
attr_accessor :allowed_audiences
|
1719
1728
|
|
1720
|
-
# Required. The OIDC issuer URL. Must be an HTTPS endpoint.
|
1729
|
+
# Required. The OIDC issuer URL. Must be an HTTPS endpoint. Per OpenID Connect
|
1730
|
+
# Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's
|
1731
|
+
# public keys (via `jwks_uri`) for verifying tokens like the OIDC ID token.
|
1732
|
+
# These public key types must be 'EC' or 'RSA'.
|
1721
1733
|
# Corresponds to the JSON property `issuerUri`
|
1722
1734
|
# @return [String]
|
1723
1735
|
attr_accessor :issuer_uri
|
@@ -2170,9 +2182,9 @@ module Google
|
|
2170
2182
|
class QueryGrantableRolesRequest
|
2171
2183
|
include Google::Apis::Core::Hashable
|
2172
2184
|
|
2173
|
-
# Required. The full resource name to query from the list of grantable
|
2174
|
-
# The name follows the Google Cloud Platform resource format. For example,
|
2175
|
-
# Cloud Platform project with id `my-project` will be named `//
|
2185
|
+
# Required. Required. The full resource name to query from the list of grantable
|
2186
|
+
# roles. The name follows the Google Cloud Platform resource format. For example,
|
2187
|
+
# a Cloud Platform project with id `my-project` will be named `//
|
2176
2188
|
# cloudresourcemanager.googleapis.com/projects/my-project`.
|
2177
2189
|
# Corresponds to the JSON property `fullResourceName`
|
2178
2190
|
# @return [String]
|
@@ -2942,20 +2954,20 @@ module Google
|
|
2942
2954
|
end
|
2943
2955
|
|
2944
2956
|
# Trust store that contains trust anchors and optional intermediate CAs used in
|
2945
|
-
# PKI to build trust chain and verify client's identity.
|
2957
|
+
# PKI to build trust chain and verify a client's identity.
|
2946
2958
|
class TrustStore
|
2947
2959
|
include Google::Apis::Core::Hashable
|
2948
2960
|
|
2949
2961
|
# Optional. Set of intermediate CA certificates used for building the trust
|
2950
|
-
# chain to trust anchor.
|
2951
|
-
#
|
2962
|
+
# chain to the trust anchor. Important: Intermediate CAs are only supported for
|
2963
|
+
# X.509 federation.
|
2952
2964
|
# Corresponds to the JSON property `intermediateCas`
|
2953
2965
|
# @return [Array<Google::Apis::IamV1::IntermediateCa>]
|
2954
2966
|
attr_accessor :intermediate_cas
|
2955
2967
|
|
2956
|
-
# Required. List of
|
2957
|
-
# a given TrustStore. The incoming end entity's certificate must be
|
2958
|
-
#
|
2968
|
+
# Required. List of trust anchors to be used while performing validation against
|
2969
|
+
# a given TrustStore. The incoming end entity's certificate must be in the trust
|
2970
|
+
# chain of one of the trust anchors here.
|
2959
2971
|
# Corresponds to the JSON property `trustAnchors`
|
2960
2972
|
# @return [Array<Google::Apis::IamV1::TrustAnchor>]
|
2961
2973
|
attr_accessor :trust_anchors
|
@@ -3335,6 +3347,14 @@ module Google
|
|
3335
3347
|
# @return [String]
|
3336
3348
|
attr_accessor :description
|
3337
3349
|
|
3350
|
+
# Optional. If true, populates additional debug information in Cloud Audit Logs
|
3351
|
+
# for this provider. Logged attribute mappings and values can be found in `sts.
|
3352
|
+
# googleapis.com` data access logs. Default value is false.
|
3353
|
+
# Corresponds to the JSON property `detailedAuditLogging`
|
3354
|
+
# @return [Boolean]
|
3355
|
+
attr_accessor :detailed_audit_logging
|
3356
|
+
alias_method :detailed_audit_logging?, :detailed_audit_logging
|
3357
|
+
|
3338
3358
|
# Optional. Disables the workforce pool provider. You cannot use a disabled
|
3339
3359
|
# provider to exchange tokens. However, existing tokens still grant access.
|
3340
3360
|
# Corresponds to the JSON property `disabled`
|
@@ -3393,6 +3413,7 @@ module Google
|
|
3393
3413
|
@attribute_condition = args[:attribute_condition] if args.key?(:attribute_condition)
|
3394
3414
|
@attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
|
3395
3415
|
@description = args[:description] if args.key?(:description)
|
3416
|
+
@detailed_audit_logging = args[:detailed_audit_logging] if args.key?(:detailed_audit_logging)
|
3396
3417
|
@disabled = args[:disabled] if args.key?(:disabled)
|
3397
3418
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3398
3419
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
@@ -3754,6 +3775,12 @@ module Google
|
|
3754
3775
|
# @return [String]
|
3755
3776
|
attr_accessor :state
|
3756
3777
|
|
3778
|
+
# An X.509-type identity provider represents a CA. It is trusted to assert a
|
3779
|
+
# client identity if the client has a certificate that chains up to this CA.
|
3780
|
+
# Corresponds to the JSON property `x509`
|
3781
|
+
# @return [Google::Apis::IamV1::X509]
|
3782
|
+
attr_accessor :x509
|
3783
|
+
|
3757
3784
|
def initialize(**args)
|
3758
3785
|
update!(**args)
|
3759
3786
|
end
|
@@ -3771,6 +3798,7 @@ module Google
|
|
3771
3798
|
@oidc = args[:oidc] if args.key?(:oidc)
|
3772
3799
|
@saml = args[:saml] if args.key?(:saml)
|
3773
3800
|
@state = args[:state] if args.key?(:state)
|
3801
|
+
@x509 = args[:x509] if args.key?(:x509)
|
3774
3802
|
end
|
3775
3803
|
end
|
3776
3804
|
|
@@ -3821,6 +3849,27 @@ module Google
|
|
3821
3849
|
@use = args[:use] if args.key?(:use)
|
3822
3850
|
end
|
3823
3851
|
end
|
3852
|
+
|
3853
|
+
# An X.509-type identity provider represents a CA. It is trusted to assert a
|
3854
|
+
# client identity if the client has a certificate that chains up to this CA.
|
3855
|
+
class X509
|
3856
|
+
include Google::Apis::Core::Hashable
|
3857
|
+
|
3858
|
+
# Trust store that contains trust anchors and optional intermediate CAs used in
|
3859
|
+
# PKI to build trust chain and verify a client's identity.
|
3860
|
+
# Corresponds to the JSON property `trustStore`
|
3861
|
+
# @return [Google::Apis::IamV1::TrustStore]
|
3862
|
+
attr_accessor :trust_store
|
3863
|
+
|
3864
|
+
def initialize(**args)
|
3865
|
+
update!(**args)
|
3866
|
+
end
|
3867
|
+
|
3868
|
+
# Update properties of this object
|
3869
|
+
def update!(**args)
|
3870
|
+
@trust_store = args[:trust_store] if args.key?(:trust_store)
|
3871
|
+
end
|
3872
|
+
end
|
3824
3873
|
end
|
3825
3874
|
end
|
3826
3875
|
end
|
@@ -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.68.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250509"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -676,6 +676,12 @@ module Google
|
|
676
676
|
include Google::Apis::Core::JsonObjectSupport
|
677
677
|
end
|
678
678
|
|
679
|
+
class X509
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
679
685
|
class AccessRestrictions
|
680
686
|
# @private
|
681
687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1558,6 +1564,7 @@ module Google
|
|
1558
1564
|
property :attribute_condition, as: 'attributeCondition'
|
1559
1565
|
hash :attribute_mapping, as: 'attributeMapping'
|
1560
1566
|
property :description, as: 'description'
|
1567
|
+
property :detailed_audit_logging, as: 'detailedAuditLogging'
|
1561
1568
|
property :disabled, as: 'disabled'
|
1562
1569
|
property :display_name, as: 'displayName'
|
1563
1570
|
property :expire_time, as: 'expireTime'
|
@@ -1648,6 +1655,8 @@ module Google
|
|
1648
1655
|
property :saml, as: 'saml', class: Google::Apis::IamV1::Saml, decorator: Google::Apis::IamV1::Saml::Representation
|
1649
1656
|
|
1650
1657
|
property :state, as: 'state'
|
1658
|
+
property :x509, as: 'x509', class: Google::Apis::IamV1::X509, decorator: Google::Apis::IamV1::X509::Representation
|
1659
|
+
|
1651
1660
|
end
|
1652
1661
|
end
|
1653
1662
|
|
@@ -1662,6 +1671,14 @@ module Google
|
|
1662
1671
|
property :use, as: 'use'
|
1663
1672
|
end
|
1664
1673
|
end
|
1674
|
+
|
1675
|
+
class X509
|
1676
|
+
# @private
|
1677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
+
property :trust_store, as: 'trustStore', class: Google::Apis::IamV1::TrustStore, decorator: Google::Apis::IamV1::TrustStore::Representation
|
1679
|
+
|
1680
|
+
end
|
1681
|
+
end
|
1665
1682
|
end
|
1666
1683
|
end
|
1667
1684
|
end
|
@@ -1921,8 +1921,7 @@ module Google
|
|
1921
1921
|
execute_or_queue_command(command, &block)
|
1922
1922
|
end
|
1923
1923
|
|
1924
|
-
# Gets IAM
|
1925
|
-
# WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity
|
1924
|
+
# Gets the IAM policy of a WorkloadIdentityPool.
|
1926
1925
|
# @param [String] resource
|
1927
1926
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1928
1927
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -2035,8 +2034,7 @@ module Google
|
|
2035
2034
|
execute_or_queue_command(command, &block)
|
2036
2035
|
end
|
2037
2036
|
|
2038
|
-
# Sets IAM policies on
|
2039
|
-
# WorkloadIdentityPoolManagedIdentity
|
2037
|
+
# Sets the IAM policies on a WorkloadIdentityPool
|
2040
2038
|
# @param [String] resource
|
2041
2039
|
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2042
2040
|
# names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -2071,8 +2069,7 @@ module Google
|
|
2071
2069
|
execute_or_queue_command(command, &block)
|
2072
2070
|
end
|
2073
2071
|
|
2074
|
-
# Returns the caller's permissions on
|
2075
|
-
# WorkloadIdentityPoolNamespace WorkloadIdentityPoolManagedIdentity
|
2072
|
+
# Returns the caller's permissions on a WorkloadIdentityPool
|
2076
2073
|
# @param [String] resource
|
2077
2074
|
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2078
2075
|
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -2494,7 +2491,8 @@ module Google
|
|
2494
2491
|
end
|
2495
2492
|
|
2496
2493
|
# Lists all non-deleted WorkloadIdentityPoolManagedIdentitys in a namespace. If `
|
2497
|
-
# show_deleted` is set to `true`, then deleted managed
|
2494
|
+
# show_deleted` is set to `true`, then deleted managed identities are also
|
2495
|
+
# listed.
|
2498
2496
|
# @param [String] parent
|
2499
2497
|
# Required. The parent resource to list managed identities for.
|
2500
2498
|
# @param [Fixnum] page_size
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.68.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:
|
@@ -67,14 +67,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '3.1'
|
71
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
|
-
rubygems_version: 3.6.
|
77
|
+
rubygems_version: 3.6.8
|
78
78
|
specification_version: 4
|
79
79
|
summary: Simple REST client for Identity and Access Management (IAM) API V1
|
80
80
|
test_files: []
|