google-apis-iam_v1 0.50.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29fd4d76fd1a49edf7fb094299d604a2d49182dd0c129753bbe14cd48f278716
4
- data.tar.gz: a86ef64379fa26c52b2576517cd11643ea9024ec45a9a901ddcf6074b78f0d02
3
+ metadata.gz: 38cd8fd92bf0389765124c1dc7c4c3eb7b42f90b6339c95e119305cf1248fb62
4
+ data.tar.gz: a3e5cded734b47b43fd2e49b03ae4b74c22b88d83830263c5c448e74e6d59542
5
5
  SHA512:
6
- metadata.gz: be9461b6b4f105b12d45c9ff0c33bd3bcab80e0ee0b3aef910cc9274d89923e02485e7b3c5d8e23f868c4550beb5af1ed472208c8dbfe8936e13750371120e9b
7
- data.tar.gz: 478457a6de643c887df475038b43c21e6665f4586256dbd7470367c7729b7955dadb2fe9af5bad2f9aa89bcfbbef627805e1ba1b80f24927dc68e4f73eceafed
6
+ metadata.gz: a6d756e3d134fb924f16b3747124d456f4fc699f965408fba131f093749c6152612c753b2098895a334beea054613b02f7dba1376324b44526f7208b7815433f
7
+ data.tar.gz: cc7671fce7d5e3e088ad7f6cc03a5a97af6b243b89438b1b9379fff789ed9a31e6b37f2857f2a16aceed9f70194f488b837b7d242ebee69f01f6b36e3cf8ec27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-iam_v1
2
2
 
3
+ ### v0.52.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240108
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.51.0 (2023-12-10)
9
+
10
+ * Regenerated from discovery document revision 20231130
11
+
3
12
  ### v0.50.0 (2023-11-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20231026
@@ -242,21 +242,43 @@ module Google
242
242
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
243
243
  # email address that represents a Google group. For example, `admins@example.com`
244
244
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
245
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
246
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
247
- # representing a user that has been recently deleted. For example, `alice@
248
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
249
- # reverts to `user:`emailid`` and the recovered user retains the role in the
250
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
251
- # (plus unique identifier) representing a service account that has been recently
252
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
245
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
246
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
247
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
248
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
249
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
250
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
251
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
252
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
253
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
254
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
255
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
256
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
257
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
258
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
259
+ # googleapis.com/projects/`project_number`/locations/global/
260
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
261
+ # All identities in a workload identity pool with a certain attribute. * `
262
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
263
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
264
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
265
+ # identifier) representing a user that has been recently deleted. For example, `
266
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
267
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
268
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
269
+ # address (plus unique identifier) representing a service account that has been
270
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
253
271
  # 123456789012345678901`. If the service account is undeleted, this value
254
272
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
255
273
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
256
274
  # An email address (plus unique identifier) representing a Google group that has
257
275
  # been recently deleted. For example, `admins@example.com?uid=
258
276
  # 123456789012345678901`. If the group is recovered, this value reverts to `
259
- # group:`emailid`` and the recovered group retains the role in the binding.
277
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
278
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
279
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
280
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
281
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
260
282
  # Corresponds to the JSON property `members`
261
283
  # @return [Array<String>]
262
284
  attr_accessor :members
@@ -2527,12 +2549,13 @@ module Google
2527
2549
  # keywords may be referenced in the expressions: * `assertion`: JSON
2528
2550
  # representing the authentication credential issued by the provider. * `google`:
2529
2551
  # The Google attributes mapped from the assertion in the `attribute_mappings`. `
2530
- # google.profile_photo` and `google.display_name` are not supported. * `
2531
- # attribute`: The custom attributes mapped from the assertion in the `
2532
- # attribute_mappings`. The maximum length of the attribute condition expression
2533
- # is 4096 characters. If unspecified, all valid authentication credentials will
2534
- # be accepted. The following example shows how to only allow credentials with a
2535
- # mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
2552
+ # google.profile_photo`, `google.display_name` and `google.posix_username` are
2553
+ # not supported. * `attribute`: The custom attributes mapped from the assertion
2554
+ # in the `attribute_mappings`. The maximum length of the attribute condition
2555
+ # expression is 4096 characters. If unspecified, all valid authentication
2556
+ # credentials will be accepted. The following example shows how to only allow
2557
+ # credentials with a mapped `google.groups` value of `admins`: ``` "'admins' in
2558
+ # google.groups" ```
2536
2559
  # Corresponds to the JSON property `attributeCondition`
2537
2560
  # @return [String]
2538
2561
  attr_accessor :attribute_condition
@@ -2552,29 +2575,32 @@ module Google
2552
2575
  # bindings. * `google.profile_photo`: The URL that specifies the authenticated
2553
2576
  # user's thumbnail photo. This is an optional field. When set, the image will be
2554
2577
  # visible as the user's profile picture. If not set, a generic user icon will be
2555
- # displayed instead. This attribute cannot be referenced in IAM bindings. You
2556
- # can also provide custom attributes by specifying `attribute.`custom_attribute``
2557
- # , where `custom_attribute` is the name of the custom attribute to be mapped.
2558
- # You can define a maximum of 50 custom attributes. The maximum length of a
2559
- # mapped attribute key is 100 characters, and the key may only contain the
2560
- # characters [a-z0-9_]. You can reference these attributes in IAM policies to
2561
- # define fine-grained access for a workforce pool to Google Cloud resources. For
2562
- # example: * `google.subject`: `principal://iam.googleapis.com/locations/global/
2563
- # workforcePools/`pool`/subject/`value`` * `google.groups`: `principalSet://iam.
2564
- # googleapis.com/locations/global/workforcePools/`pool`/group/`value`` * `
2565
- # attribute.`custom_attribute``: `principalSet://iam.googleapis.com/locations/
2566
- # global/workforcePools/`pool`/attribute.`custom_attribute`/`value`` Each value
2567
- # must be a [Common Expression Language] (https://opensource.google/projects/cel)
2568
- # function that maps an identity provider credential to the normalized
2569
- # attribute specified by the corresponding map key. You can use the `assertion`
2570
- # keyword in the expression to access a JSON representation of the
2571
- # authentication credential issued by the provider. The maximum length of an
2572
- # attribute mapping expression is 2048 characters. When evaluated, the total
2573
- # size of all mapped attributes must not exceed 4KB. For OIDC providers, you
2574
- # must supply a custom mapping that includes the `google.subject` attribute. For
2575
- # example, the following maps the `sub` claim of the incoming credential to the `
2576
- # subject` attribute on a Google token: ``` `"google.subject": "assertion.sub"` `
2577
- # ``
2578
+ # displayed instead. This attribute cannot be referenced in IAM bindings. * `
2579
+ # google.posix_username`: The linux username used by OS login. This is an
2580
+ # optional field and the mapped posix username cannot exceed 32 characters, The
2581
+ # key must match the regex "^a-zA-Z0-9._`0,31`$". This attribute cannot be
2582
+ # referenced in IAM bindings. You can also provide custom attributes by
2583
+ # specifying `attribute.`custom_attribute``, where `custom_attribute` is the
2584
+ # name of the custom attribute to be mapped. You can define a maximum of 50
2585
+ # custom attributes. The maximum length of a mapped attribute key is 100
2586
+ # characters, and the key may only contain the characters [a-z0-9_]. You can
2587
+ # reference these attributes in IAM policies to define fine-grained access for a
2588
+ # workforce pool to Google Cloud resources. For example: * `google.subject`: `
2589
+ # principal://iam.googleapis.com/locations/global/workforcePools/`pool`/subject/`
2590
+ # value`` * `google.groups`: `principalSet://iam.googleapis.com/locations/global/
2591
+ # workforcePools/`pool`/group/`value`` * `attribute.`custom_attribute``: `
2592
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool`/
2593
+ # attribute.`custom_attribute`/`value`` Each value must be a [Common Expression
2594
+ # Language] (https://opensource.google/projects/cel) function that maps an
2595
+ # identity provider credential to the normalized attribute specified by the
2596
+ # corresponding map key. You can use the `assertion` keyword in the expression
2597
+ # to access a JSON representation of the authentication credential issued by the
2598
+ # provider. The maximum length of an attribute mapping expression is 2048
2599
+ # characters. When evaluated, the total size of all mapped attributes must not
2600
+ # exceed 4KB. For OIDC providers, you must supply a custom mapping that includes
2601
+ # the `google.subject` attribute. For example, the following maps the `sub`
2602
+ # claim of the incoming credential to the `subject` attribute on a Google token:
2603
+ # ``` `"google.subject": "assertion.sub"` ```
2578
2604
  # Corresponds to the JSON property `attributeMapping`
2579
2605
  # @return [Hash<String,String>]
2580
2606
  attr_accessor :attribute_mapping
@@ -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.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231026"
25
+ REVISION = "20240108"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://cloud.google.com/iam/
36
36
  class IamService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://iam.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://iam.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-iam_v1',
50
52
  client_version: Google::Apis::IamV1::GEM_VERSION)
51
53
  @batch_path = 'batch'
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.50.0
4
+ version: 0.52.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: 2023-11-05 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.50.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.52.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: []
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.4.19
79
+ rubygems_version: 3.5.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Identity and Access Management (IAM) API V1