google-apis-iam_v1 0.25.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/iam_v1/classes.rb +38 -2
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/representations.rb +15 -0
- data/lib/google/apis/iam_v1/service.rb +9 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e985d0d428af8cf9aa365d2ce4d350b2607e5d2d34b2cc1feb3bcf92ddfd1baf
|
4
|
+
data.tar.gz: 219e94b28b9a38ef4bfbe6917411d2895850eb1065a96713abbb90c8bb429889
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe4c7545fb09dec6c409f6e860833e39dfa9a60274c204ae6e1787288139cdac724ae4f2862dde753b1b948f04a51fed50ac3583869441dd64932582ba4a0173
|
7
|
+
data.tar.gz: b48c2ccad6d28a66c336471440f886bd89df8aace6d201a5ff1f04c051a544900930f90da2f293985cdfbf56b4e4ef8c29d9fb77b0054222cada18d001317a78
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.28.0 (2022-05-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220509
|
6
|
+
|
7
|
+
### v0.27.0 (2022-05-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220428
|
10
|
+
|
11
|
+
### v0.26.0 (2022-04-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220421
|
14
|
+
|
3
15
|
### v0.25.0 (2022-04-21)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220413
|
@@ -57,8 +57,8 @@ module Google
|
|
57
57
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
58
58
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
59
59
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
60
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
61
|
-
# DATA_WRITE logging.
|
60
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
61
|
+
# from DATA_WRITE logging.
|
62
62
|
class AuditConfig
|
63
63
|
include Google::Apis::Core::Hashable
|
64
64
|
|
@@ -1322,6 +1322,36 @@ module Google
|
|
1322
1322
|
end
|
1323
1323
|
end
|
1324
1324
|
|
1325
|
+
# Represents an SAML 2.0 identity provider.
|
1326
|
+
class Saml
|
1327
|
+
include Google::Apis::Core::Hashable
|
1328
|
+
|
1329
|
+
# Required. SAML Identity provider configuration metadata xml doc. The xml
|
1330
|
+
# document should comply with [SAML 2.0 specification](https://www.oasis-open.
|
1331
|
+
# org/committees/download.php/56785/sstc-saml-metadata-errata-2.0-wd-05.pdf).
|
1332
|
+
# The max size of the acceptable xml document will be bounded to 128k characters.
|
1333
|
+
# The metadata xml document should satisfy the following constraints: 1) Must
|
1334
|
+
# contain an Identity Provider Entity ID. 2) Must contain at least one non-
|
1335
|
+
# expired signing key certificate. 3) For each signing key: a) Valid from should
|
1336
|
+
# be no more than 7 days from now. b) Valid to should be no more than 10 years
|
1337
|
+
# in the future. 4) Upto 3 IdP signing keys are allowed in the metadata xml.
|
1338
|
+
# When updating the provider's metadata xml, at lease one non-expired signing
|
1339
|
+
# key must overlap with the existing metadata. This requirement is skipped if
|
1340
|
+
# there are no non-expired signing keys present in the existing metadata
|
1341
|
+
# Corresponds to the JSON property `idpMetadataXml`
|
1342
|
+
# @return [String]
|
1343
|
+
attr_accessor :idp_metadata_xml
|
1344
|
+
|
1345
|
+
def initialize(**args)
|
1346
|
+
update!(**args)
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# Update properties of this object
|
1350
|
+
def update!(**args)
|
1351
|
+
@idp_metadata_xml = args[:idp_metadata_xml] if args.key?(:idp_metadata_xml)
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1325
1355
|
# An IAM service account. A service account is an account for an application or
|
1326
1356
|
# a virtual machine (VM) instance, not a person. You can use a service account
|
1327
1357
|
# to call Google APIs. To learn more, read the [overview of service accounts](
|
@@ -1996,6 +2026,11 @@ module Google
|
|
1996
2026
|
# @return [Google::Apis::IamV1::Oidc]
|
1997
2027
|
attr_accessor :oidc
|
1998
2028
|
|
2029
|
+
# Represents an SAML 2.0 identity provider.
|
2030
|
+
# Corresponds to the JSON property `saml`
|
2031
|
+
# @return [Google::Apis::IamV1::Saml]
|
2032
|
+
attr_accessor :saml
|
2033
|
+
|
1999
2034
|
# Output only. The state of the provider.
|
2000
2035
|
# Corresponds to the JSON property `state`
|
2001
2036
|
# @return [String]
|
@@ -2015,6 +2050,7 @@ module Google
|
|
2015
2050
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2016
2051
|
@name = args[:name] if args.key?(:name)
|
2017
2052
|
@oidc = args[:oidc] if args.key?(:oidc)
|
2053
|
+
@saml = args[:saml] if args.key?(:saml)
|
2018
2054
|
@state = args[:state] if args.key?(:state)
|
2019
2055
|
end
|
2020
2056
|
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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220509"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -256,6 +256,12 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
+
class Saml
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
259
265
|
class ServiceAccount
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
267
|
|
@@ -707,6 +713,13 @@ module Google
|
|
707
713
|
end
|
708
714
|
end
|
709
715
|
|
716
|
+
class Saml
|
717
|
+
# @private
|
718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
719
|
+
property :idp_metadata_xml, as: 'idpMetadataXml'
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
710
723
|
class ServiceAccount
|
711
724
|
# @private
|
712
725
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -864,6 +877,8 @@ module Google
|
|
864
877
|
property :name, as: 'name'
|
865
878
|
property :oidc, as: 'oidc', class: Google::Apis::IamV1::Oidc, decorator: Google::Apis::IamV1::Oidc::Representation
|
866
879
|
|
880
|
+
property :saml, as: 'saml', class: Google::Apis::IamV1::Saml, decorator: Google::Apis::IamV1::Saml::Representation
|
881
|
+
|
867
882
|
property :state, as: 'state'
|
868
883
|
end
|
869
884
|
end
|
@@ -1644,8 +1644,9 @@ module Google
|
|
1644
1644
|
# getIamPolicy`](https://cloud.google.com/resource-manager/reference/rest/v1/
|
1645
1645
|
# projects/getIamPolicy) method.
|
1646
1646
|
# @param [String] resource
|
1647
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1648
|
-
#
|
1647
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1648
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1649
|
+
# appropriate value for this field.
|
1649
1650
|
# @param [Fixnum] options_requested_policy_version
|
1650
1651
|
# Optional. The maximum policy version that will be used to format the policy.
|
1651
1652
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1781,8 +1782,9 @@ module Google
|
|
1781
1782
|
# accounts) or [Manage access to other resources](https://cloud.google.com/iam/
|
1782
1783
|
# help/access/manage-other-resources).
|
1783
1784
|
# @param [String] resource
|
1784
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1785
|
-
#
|
1785
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1786
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1787
|
+
# appropriate value for this field.
|
1786
1788
|
# @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1787
1789
|
# @param [String] fields
|
1788
1790
|
# Selector specifying which fields to include in a partial response.
|
@@ -1901,8 +1903,9 @@ module Google
|
|
1901
1903
|
|
1902
1904
|
# Tests whether the caller has the specified permissions on a ServiceAccount.
|
1903
1905
|
# @param [String] resource
|
1904
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1905
|
-
#
|
1906
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1907
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1908
|
+
# appropriate value for this field.
|
1906
1909
|
# @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1907
1910
|
# @param [String] fields
|
1908
1911
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.28.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|