google-apis-iam_v1 0.49.0 → 0.50.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 +4 -0
- data/lib/google/apis/iam_v1/classes.rb +54 -0
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/representations.rb +30 -0
- 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: 29fd4d76fd1a49edf7fb094299d604a2d49182dd0c129753bbe14cd48f278716
|
4
|
+
data.tar.gz: a86ef64379fa26c52b2576517cd11643ea9024ec45a9a901ddcf6074b78f0d02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be9461b6b4f105b12d45c9ff0c33bd3bcab80e0ee0b3aef910cc9274d89923e02485e7b3c5d8e23f868c4550beb5af1ed472208c8dbfe8936e13750371120e9b
|
7
|
+
data.tar.gz: 478457a6de643c887df475038b43c21e6665f4586256dbd7470367c7729b7955dadb2fe9af5bad2f9aa89bcfbbef627805e1ba1b80f24927dc68e4f73eceafed
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,35 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
# Access related restrictions on the workforce pool.
|
26
|
+
class AccessRestrictions
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Optional. Immutable. Services allowed for web sign-in with the workforce pool.
|
30
|
+
# If not set by default there are no restrictions.
|
31
|
+
# Corresponds to the JSON property `allowedServices`
|
32
|
+
# @return [Array<Google::Apis::IamV1::ServiceConfig>]
|
33
|
+
attr_accessor :allowed_services
|
34
|
+
|
35
|
+
# Optional. Disable programmatic sign-in by disabling token issue via the
|
36
|
+
# Security Token API endpoint. See [Security Token Service API] (https://cloud.
|
37
|
+
# google.com/iam/docs/reference/sts/rest).
|
38
|
+
# Corresponds to the JSON property `disableProgrammaticSignin`
|
39
|
+
# @return [Boolean]
|
40
|
+
attr_accessor :disable_programmatic_signin
|
41
|
+
alias_method :disable_programmatic_signin?, :disable_programmatic_signin
|
42
|
+
|
43
|
+
def initialize(**args)
|
44
|
+
update!(**args)
|
45
|
+
end
|
46
|
+
|
47
|
+
# Update properties of this object
|
48
|
+
def update!(**args)
|
49
|
+
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
|
50
|
+
@disable_programmatic_signin = args[:disable_programmatic_signin] if args.key?(:disable_programmatic_signin)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
25
54
|
# Audit log information specific to Cloud IAM admin APIs. This message is
|
26
55
|
# serialized as an `Any` type in the `ServiceData` message of an `AuditLog`
|
27
56
|
# message.
|
@@ -1980,6 +2009,25 @@ module Google
|
|
1980
2009
|
end
|
1981
2010
|
end
|
1982
2011
|
|
2012
|
+
# Configuration for a service.
|
2013
|
+
class ServiceConfig
|
2014
|
+
include Google::Apis::Core::Hashable
|
2015
|
+
|
2016
|
+
# Optional. Domain name of the service. Example: console.cloud.google
|
2017
|
+
# Corresponds to the JSON property `domain`
|
2018
|
+
# @return [String]
|
2019
|
+
attr_accessor :domain
|
2020
|
+
|
2021
|
+
def initialize(**args)
|
2022
|
+
update!(**args)
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Update properties of this object
|
2026
|
+
def update!(**args)
|
2027
|
+
@domain = args[:domain] if args.key?(:domain)
|
2028
|
+
end
|
2029
|
+
end
|
2030
|
+
|
1983
2031
|
# Request message for `SetIamPolicy` method.
|
1984
2032
|
class SetIamPolicyRequest
|
1985
2033
|
include Google::Apis::Core::Hashable
|
@@ -2394,6 +2442,11 @@ module Google
|
|
2394
2442
|
class WorkforcePool
|
2395
2443
|
include Google::Apis::Core::Hashable
|
2396
2444
|
|
2445
|
+
# Access related restrictions on the workforce pool.
|
2446
|
+
# Corresponds to the JSON property `accessRestrictions`
|
2447
|
+
# @return [Google::Apis::IamV1::AccessRestrictions]
|
2448
|
+
attr_accessor :access_restrictions
|
2449
|
+
|
2397
2450
|
# A user-specified description of the pool. Cannot exceed 256 characters.
|
2398
2451
|
# Corresponds to the JSON property `description`
|
2399
2452
|
# @return [String]
|
@@ -2451,6 +2504,7 @@ module Google
|
|
2451
2504
|
|
2452
2505
|
# Update properties of this object
|
2453
2506
|
def update!(**args)
|
2507
|
+
@access_restrictions = args[:access_restrictions] if args.key?(:access_restrictions)
|
2454
2508
|
@description = args[:description] if args.key?(:description)
|
2455
2509
|
@disabled = args[:disabled] if args.key?(:disabled)
|
2456
2510
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231026"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
class AccessRestrictions
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AdminAuditData
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -352,6 +358,12 @@ module Google
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
353
359
|
end
|
354
360
|
|
361
|
+
class ServiceConfig
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
355
367
|
class SetIamPolicyRequest
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
369
|
|
@@ -508,6 +520,15 @@ module Google
|
|
508
520
|
include Google::Apis::Core::JsonObjectSupport
|
509
521
|
end
|
510
522
|
|
523
|
+
class AccessRestrictions
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
collection :allowed_services, as: 'allowedServices', class: Google::Apis::IamV1::ServiceConfig, decorator: Google::Apis::IamV1::ServiceConfig::Representation
|
527
|
+
|
528
|
+
property :disable_programmatic_signin, as: 'disableProgrammaticSignin'
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
511
532
|
class AdminAuditData
|
512
533
|
# @private
|
513
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1010,6 +1031,13 @@ module Google
|
|
1010
1031
|
end
|
1011
1032
|
end
|
1012
1033
|
|
1034
|
+
class ServiceConfig
|
1035
|
+
# @private
|
1036
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1037
|
+
property :domain, as: 'domain'
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
1013
1041
|
class SetIamPolicyRequest
|
1014
1042
|
# @private
|
1015
1043
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1145,6 +1173,8 @@ module Google
|
|
1145
1173
|
class WorkforcePool
|
1146
1174
|
# @private
|
1147
1175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1176
|
+
property :access_restrictions, as: 'accessRestrictions', class: Google::Apis::IamV1::AccessRestrictions, decorator: Google::Apis::IamV1::AccessRestrictions::Representation
|
1177
|
+
|
1148
1178
|
property :description, as: 'description'
|
1149
1179
|
property :disabled, as: 'disabled'
|
1150
1180
|
property :display_name, as: 'displayName'
|
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.50.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
|
+
date: 2023-11-05 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.50.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: []
|