google-apis-iam_v1 0.38.0 → 0.40.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 +9 -0
- data/lib/google/apis/iam_v1/classes.rb +379 -0
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/representations.rb +162 -0
- data/lib/google/apis/iam_v1/service.rb +635 -0
- 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: 6641345ff1cb1365a446b843382fb892077b652fc9e86e2c01c1cc6159b37d63
|
4
|
+
data.tar.gz: 254006a557af591436c3924d9324a5cdff8affd7dceef58acfdd026aec6580ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9793c5aafb247687d58a8adab1d4e79a418030d6089245a5123fe40fa21d961a0e65fa9b2ec9df79b21cba674f825f53a7a1d93c97e4325b158a64aaa8988e2
|
7
|
+
data.tar.gz: b82861b388fc098d59479937324ca1af314549c2566eb8321447f1443d2bc687cfa01e5fd770575cc3ead37ad849b8003b7a64811b723b70e45c1154ed983e9e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2023-02-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230209
|
6
|
+
* Regenerated using generator version 0.12.0
|
7
|
+
|
8
|
+
### v0.39.0 (2023-02-12)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20230202
|
11
|
+
|
3
12
|
### v0.38.0 (2023-02-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230126
|
@@ -514,6 +514,109 @@ module Google
|
|
514
514
|
end
|
515
515
|
end
|
516
516
|
|
517
|
+
# Request message for `GetIamPolicy` method.
|
518
|
+
class GetIamPolicyRequest
|
519
|
+
include Google::Apis::Core::Hashable
|
520
|
+
|
521
|
+
# Encapsulates settings provided to GetIamPolicy.
|
522
|
+
# Corresponds to the JSON property `options`
|
523
|
+
# @return [Google::Apis::IamV1::GetPolicyOptions]
|
524
|
+
attr_accessor :options
|
525
|
+
|
526
|
+
def initialize(**args)
|
527
|
+
update!(**args)
|
528
|
+
end
|
529
|
+
|
530
|
+
# Update properties of this object
|
531
|
+
def update!(**args)
|
532
|
+
@options = args[:options] if args.key?(:options)
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
# Encapsulates settings provided to GetIamPolicy.
|
537
|
+
class GetPolicyOptions
|
538
|
+
include Google::Apis::Core::Hashable
|
539
|
+
|
540
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
541
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
542
|
+
# rejected. Requests for policies with any conditional role bindings must
|
543
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
544
|
+
# valid value or leave the field unset. The policy in the response might use the
|
545
|
+
# policy version that you specified, or it might use a lower policy version. For
|
546
|
+
# example, if you specify version 3, but the policy has no conditional role
|
547
|
+
# bindings, the response uses version 1. To learn which resources support
|
548
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
549
|
+
# google.com/iam/help/conditions/resource-policies).
|
550
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
551
|
+
# @return [Fixnum]
|
552
|
+
attr_accessor :requested_policy_version
|
553
|
+
|
554
|
+
def initialize(**args)
|
555
|
+
update!(**args)
|
556
|
+
end
|
557
|
+
|
558
|
+
# Update properties of this object
|
559
|
+
def update!(**args)
|
560
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
# Represents an OpenId Connect 1.0 identity provider.
|
565
|
+
class GoogleIamAdminV1WorkforcePoolProviderOidc
|
566
|
+
include Google::Apis::Core::Hashable
|
567
|
+
|
568
|
+
# Required. The client ID. Must match the audience claim of the JWT issued by
|
569
|
+
# the identity provider.
|
570
|
+
# Corresponds to the JSON property `clientId`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :client_id
|
573
|
+
|
574
|
+
# Required. The OIDC issuer URI. Must be a valid URI using the 'https' scheme.
|
575
|
+
# Corresponds to the JSON property `issuerUri`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :issuer_uri
|
578
|
+
|
579
|
+
def initialize(**args)
|
580
|
+
update!(**args)
|
581
|
+
end
|
582
|
+
|
583
|
+
# Update properties of this object
|
584
|
+
def update!(**args)
|
585
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
586
|
+
@issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
# Represents a SAML identity provider.
|
591
|
+
class GoogleIamAdminV1WorkforcePoolProviderSaml
|
592
|
+
include Google::Apis::Core::Hashable
|
593
|
+
|
594
|
+
# Required. SAML Identity provider configuration metadata xml doc. The xml
|
595
|
+
# document should comply with [SAML 2.0 specification](https://docs.oasis-open.
|
596
|
+
# org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The max size of the
|
597
|
+
# acceptable xml document will be bounded to 128k characters. The metadata xml
|
598
|
+
# document should satisfy the following constraints: 1) Must contain an Identity
|
599
|
+
# Provider Entity ID. 2) Must contain at least one non-expired signing key
|
600
|
+
# certificate. 3) For each signing key: a) Valid from should be no more than 7
|
601
|
+
# days from now. b) Valid to should be no more than 14 years in the future. 4)
|
602
|
+
# Up to 3 IdP signing keys are allowed in the metadata xml. When updating the
|
603
|
+
# provider's metadata xml, at least one non-expired signing key must overlap
|
604
|
+
# with the existing metadata. This requirement is skipped if there are no non-
|
605
|
+
# expired signing keys present in the existing metadata.
|
606
|
+
# Corresponds to the JSON property `idpMetadataXml`
|
607
|
+
# @return [String]
|
608
|
+
attr_accessor :idp_metadata_xml
|
609
|
+
|
610
|
+
def initialize(**args)
|
611
|
+
update!(**args)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Update properties of this object
|
615
|
+
def update!(**args)
|
616
|
+
@idp_metadata_xml = args[:idp_metadata_xml] if args.key?(:idp_metadata_xml)
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
517
620
|
# The request to lint a Cloud IAM policy object.
|
518
621
|
class LintPolicyRequest
|
519
622
|
include Google::Apis::Core::Hashable
|
@@ -704,6 +807,58 @@ module Google
|
|
704
807
|
end
|
705
808
|
end
|
706
809
|
|
810
|
+
# Response message for ListWorkforcePoolProviders.
|
811
|
+
class ListWorkforcePoolProvidersResponse
|
812
|
+
include Google::Apis::Core::Hashable
|
813
|
+
|
814
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
815
|
+
# field is omitted, there are no subsequent pages.
|
816
|
+
# Corresponds to the JSON property `nextPageToken`
|
817
|
+
# @return [String]
|
818
|
+
attr_accessor :next_page_token
|
819
|
+
|
820
|
+
# A list of providers.
|
821
|
+
# Corresponds to the JSON property `workforcePoolProviders`
|
822
|
+
# @return [Array<Google::Apis::IamV1::WorkforcePoolProvider>]
|
823
|
+
attr_accessor :workforce_pool_providers
|
824
|
+
|
825
|
+
def initialize(**args)
|
826
|
+
update!(**args)
|
827
|
+
end
|
828
|
+
|
829
|
+
# Update properties of this object
|
830
|
+
def update!(**args)
|
831
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
832
|
+
@workforce_pool_providers = args[:workforce_pool_providers] if args.key?(:workforce_pool_providers)
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
# Response message for ListWorkforcePools.
|
837
|
+
class ListWorkforcePoolsResponse
|
838
|
+
include Google::Apis::Core::Hashable
|
839
|
+
|
840
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
841
|
+
# field is omitted, there are no subsequent pages.
|
842
|
+
# Corresponds to the JSON property `nextPageToken`
|
843
|
+
# @return [String]
|
844
|
+
attr_accessor :next_page_token
|
845
|
+
|
846
|
+
# A list of pools.
|
847
|
+
# Corresponds to the JSON property `workforcePools`
|
848
|
+
# @return [Array<Google::Apis::IamV1::WorkforcePool>]
|
849
|
+
attr_accessor :workforce_pools
|
850
|
+
|
851
|
+
def initialize(**args)
|
852
|
+
update!(**args)
|
853
|
+
end
|
854
|
+
|
855
|
+
# Update properties of this object
|
856
|
+
def update!(**args)
|
857
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
858
|
+
@workforce_pools = args[:workforce_pools] if args.key?(:workforce_pools)
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
707
862
|
# Response message for ListWorkloadIdentityPoolProviders.
|
708
863
|
class ListWorkloadIdentityPoolProvidersResponse
|
709
864
|
include Google::Apis::Core::Hashable
|
@@ -1842,6 +1997,45 @@ module Google
|
|
1842
1997
|
end
|
1843
1998
|
end
|
1844
1999
|
|
2000
|
+
# Request message for UndeleteWorkforcePoolProvider.
|
2001
|
+
class UndeleteWorkforcePoolProviderRequest
|
2002
|
+
include Google::Apis::Core::Hashable
|
2003
|
+
|
2004
|
+
def initialize(**args)
|
2005
|
+
update!(**args)
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
# Update properties of this object
|
2009
|
+
def update!(**args)
|
2010
|
+
end
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
# Request message for UndeleteWorkforcePool.
|
2014
|
+
class UndeleteWorkforcePoolRequest
|
2015
|
+
include Google::Apis::Core::Hashable
|
2016
|
+
|
2017
|
+
def initialize(**args)
|
2018
|
+
update!(**args)
|
2019
|
+
end
|
2020
|
+
|
2021
|
+
# Update properties of this object
|
2022
|
+
def update!(**args)
|
2023
|
+
end
|
2024
|
+
end
|
2025
|
+
|
2026
|
+
# Request message for UndeleteWorkforcePoolSubject.
|
2027
|
+
class UndeleteWorkforcePoolSubjectRequest
|
2028
|
+
include Google::Apis::Core::Hashable
|
2029
|
+
|
2030
|
+
def initialize(**args)
|
2031
|
+
update!(**args)
|
2032
|
+
end
|
2033
|
+
|
2034
|
+
# Update properties of this object
|
2035
|
+
def update!(**args)
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
|
1845
2039
|
# Request message for UndeleteWorkloadIdentityPoolProvider.
|
1846
2040
|
class UndeleteWorkloadIdentityPoolProviderRequest
|
1847
2041
|
include Google::Apis::Core::Hashable
|
@@ -1890,6 +2084,191 @@ module Google
|
|
1890
2084
|
end
|
1891
2085
|
end
|
1892
2086
|
|
2087
|
+
# Represents a collection of external workforces. Provides namespaces for
|
2088
|
+
# federated users that can be referenced in IAM policies.
|
2089
|
+
class WorkforcePool
|
2090
|
+
include Google::Apis::Core::Hashable
|
2091
|
+
|
2092
|
+
# A user-specified description of the pool. Cannot exceed 256 characters.
|
2093
|
+
# Corresponds to the JSON property `description`
|
2094
|
+
# @return [String]
|
2095
|
+
attr_accessor :description
|
2096
|
+
|
2097
|
+
# Whether the pool is disabled. You cannot use a disabled pool to exchange
|
2098
|
+
# tokens, or use existing tokens to access resources. If the pool is re-enabled,
|
2099
|
+
# existing tokens grant access again.
|
2100
|
+
# Corresponds to the JSON property `disabled`
|
2101
|
+
# @return [Boolean]
|
2102
|
+
attr_accessor :disabled
|
2103
|
+
alias_method :disabled?, :disabled
|
2104
|
+
|
2105
|
+
# A user-specified display name of the pool in Google Cloud Console. Cannot
|
2106
|
+
# exceed 32 characters.
|
2107
|
+
# Corresponds to the JSON property `displayName`
|
2108
|
+
# @return [String]
|
2109
|
+
attr_accessor :display_name
|
2110
|
+
|
2111
|
+
# Output only. The resource name of the pool. Format: `locations/`location`/
|
2112
|
+
# workforcePools/`workforce_pool_id``
|
2113
|
+
# Corresponds to the JSON property `name`
|
2114
|
+
# @return [String]
|
2115
|
+
attr_accessor :name
|
2116
|
+
|
2117
|
+
# Immutable. The resource name of the parent. Format: `organizations/`org-id``.
|
2118
|
+
# Corresponds to the JSON property `parent`
|
2119
|
+
# @return [String]
|
2120
|
+
attr_accessor :parent
|
2121
|
+
|
2122
|
+
# Duration that the Google Cloud access tokens, console sign-in sessions, and `
|
2123
|
+
# gcloud` sign-in sessions from this pool are valid. Must be greater than 15
|
2124
|
+
# minutes (900s) and less than 12 hours (43200s). If `session_duration` is not
|
2125
|
+
# configured, minted credentials have a default duration of one hour (3600s).
|
2126
|
+
# For SAML providers, the lifetime of the token is the minimum of the `
|
2127
|
+
# session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
|
2128
|
+
# Corresponds to the JSON property `sessionDuration`
|
2129
|
+
# @return [String]
|
2130
|
+
attr_accessor :session_duration
|
2131
|
+
|
2132
|
+
# Output only. The state of the pool.
|
2133
|
+
# Corresponds to the JSON property `state`
|
2134
|
+
# @return [String]
|
2135
|
+
attr_accessor :state
|
2136
|
+
|
2137
|
+
def initialize(**args)
|
2138
|
+
update!(**args)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# Update properties of this object
|
2142
|
+
def update!(**args)
|
2143
|
+
@description = args[:description] if args.key?(:description)
|
2144
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
2145
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2146
|
+
@name = args[:name] if args.key?(:name)
|
2147
|
+
@parent = args[:parent] if args.key?(:parent)
|
2148
|
+
@session_duration = args[:session_duration] if args.key?(:session_duration)
|
2149
|
+
@state = args[:state] if args.key?(:state)
|
2150
|
+
end
|
2151
|
+
end
|
2152
|
+
|
2153
|
+
# A configuration for an external identity provider.
|
2154
|
+
class WorkforcePoolProvider
|
2155
|
+
include Google::Apis::Core::Hashable
|
2156
|
+
|
2157
|
+
# A [Common Expression Language](https://opensource.google/projects/cel)
|
2158
|
+
# expression, in plain text, to restrict what otherwise valid authentication
|
2159
|
+
# credentials issued by the provider should not be accepted. The expression must
|
2160
|
+
# output a boolean representing whether to allow the federation. The following
|
2161
|
+
# keywords may be referenced in the expressions: * `assertion`: JSON
|
2162
|
+
# representing the authentication credential issued by the provider. * `google`:
|
2163
|
+
# The Google attributes mapped from the assertion in the `attribute_mappings`. `
|
2164
|
+
# google.profile_photo` and `google.display_name` are not supported. * `
|
2165
|
+
# attribute`: The custom attributes mapped from the assertion in the `
|
2166
|
+
# attribute_mappings`. The maximum length of the attribute condition expression
|
2167
|
+
# is 4096 characters. If unspecified, all valid authentication credentials will
|
2168
|
+
# be accepted. The following example shows how to only allow credentials with a
|
2169
|
+
# mapped `google.groups` value of `admins`: ``` "'admins' in google.groups" ```
|
2170
|
+
# Corresponds to the JSON property `attributeCondition`
|
2171
|
+
# @return [String]
|
2172
|
+
attr_accessor :attribute_condition
|
2173
|
+
|
2174
|
+
# Required. Maps attributes from the authentication credentials issued by an
|
2175
|
+
# external identity provider to Google Cloud attributes, such as `subject` and `
|
2176
|
+
# segment`. Each key must be a string specifying the Google Cloud IAM attribute
|
2177
|
+
# to map to. The following keys are supported: * `google.subject`: The principal
|
2178
|
+
# IAM is authenticating. You can reference this value in IAM bindings. This is
|
2179
|
+
# also the subject that appears in Cloud Logging logs. This is a required field
|
2180
|
+
# and the mapped subject cannot exceed 127 bytes. * `google.groups`: Groups the
|
2181
|
+
# authenticating user belongs to. You can grant groups access to resources using
|
2182
|
+
# an IAM `principalSet` binding; access applies to all members of the group. * `
|
2183
|
+
# google.display_name`: The name of the authenticated user. This is an optional
|
2184
|
+
# field and the mapped display name cannot exceed 100 bytes. If not set, `google.
|
2185
|
+
# subject` will be displayed instead. This attribute cannot be referenced in IAM
|
2186
|
+
# bindings. * `google.profile_photo`: The URL that specifies the authenticated
|
2187
|
+
# user's thumbnail photo. This is an optional field. When set, the image will be
|
2188
|
+
# visible as the user's profile picture. If not set, a generic user icon will be
|
2189
|
+
# displayed instead. This attribute cannot be referenced in IAM bindings. You
|
2190
|
+
# can also provide custom attributes by specifying `attribute.`custom_attribute``
|
2191
|
+
# , where `custom_attribute` is the name of the custom attribute to be mapped.
|
2192
|
+
# You can define a maximum of 50 custom attributes. The maximum length of a
|
2193
|
+
# mapped attribute key is 100 characters, and the key may only contain the
|
2194
|
+
# characters [a-z0-9_]. You can reference these attributes in IAM policies to
|
2195
|
+
# define fine-grained access for a workforce pool to Google Cloud resources. For
|
2196
|
+
# example: * `google.subject`: `principal://iam.googleapis.com/locations/global/
|
2197
|
+
# workforcePools/`pool`/subject/`value`` * `google.groups`: `principalSet://iam.
|
2198
|
+
# googleapis.com/locations/global/workforcePools/`pool`/group/`value`` * `
|
2199
|
+
# attribute.`custom_attribute``: `principalSet://iam.googleapis.com/locations/
|
2200
|
+
# global/workforcePools/`pool`/attribute.`custom_attribute`/`value`` Each value
|
2201
|
+
# must be a [Common Expression Language] (https://opensource.google/projects/cel)
|
2202
|
+
# function that maps an identity provider credential to the normalized
|
2203
|
+
# attribute specified by the corresponding map key. You can use the `assertion`
|
2204
|
+
# keyword in the expression to access a JSON representation of the
|
2205
|
+
# authentication credential issued by the provider. The maximum length of an
|
2206
|
+
# attribute mapping expression is 2048 characters. When evaluated, the total
|
2207
|
+
# size of all mapped attributes must not exceed 4KB. For OIDC providers, you
|
2208
|
+
# must supply a custom mapping that includes the `google.subject` attribute. For
|
2209
|
+
# example, the following maps the `sub` claim of the incoming credential to the `
|
2210
|
+
# subject` attribute on a Google token: ``` `"google.subject": "assertion.sub"` `
|
2211
|
+
# ``
|
2212
|
+
# Corresponds to the JSON property `attributeMapping`
|
2213
|
+
# @return [Hash<String,String>]
|
2214
|
+
attr_accessor :attribute_mapping
|
2215
|
+
|
2216
|
+
# A user-specified description of the provider. Cannot exceed 256 characters.
|
2217
|
+
# Corresponds to the JSON property `description`
|
2218
|
+
# @return [String]
|
2219
|
+
attr_accessor :description
|
2220
|
+
|
2221
|
+
# Whether the provider is disabled. You cannot use a disabled provider to
|
2222
|
+
# exchange tokens. However, existing tokens still grant access.
|
2223
|
+
# Corresponds to the JSON property `disabled`
|
2224
|
+
# @return [Boolean]
|
2225
|
+
attr_accessor :disabled
|
2226
|
+
alias_method :disabled?, :disabled
|
2227
|
+
|
2228
|
+
# A user-specified display name for the provider. Cannot exceed 32 characters.
|
2229
|
+
# Corresponds to the JSON property `displayName`
|
2230
|
+
# @return [String]
|
2231
|
+
attr_accessor :display_name
|
2232
|
+
|
2233
|
+
# Output only. The resource name of the provider. Format: `locations/`location`/
|
2234
|
+
# workforcePools/`workforce_pool_id`/providers/`provider_id``
|
2235
|
+
# Corresponds to the JSON property `name`
|
2236
|
+
# @return [String]
|
2237
|
+
attr_accessor :name
|
2238
|
+
|
2239
|
+
# Represents an OpenId Connect 1.0 identity provider.
|
2240
|
+
# Corresponds to the JSON property `oidc`
|
2241
|
+
# @return [Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidc]
|
2242
|
+
attr_accessor :oidc
|
2243
|
+
|
2244
|
+
# Represents a SAML identity provider.
|
2245
|
+
# Corresponds to the JSON property `saml`
|
2246
|
+
# @return [Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderSaml]
|
2247
|
+
attr_accessor :saml
|
2248
|
+
|
2249
|
+
# Output only. The state of the provider.
|
2250
|
+
# Corresponds to the JSON property `state`
|
2251
|
+
# @return [String]
|
2252
|
+
attr_accessor :state
|
2253
|
+
|
2254
|
+
def initialize(**args)
|
2255
|
+
update!(**args)
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
# Update properties of this object
|
2259
|
+
def update!(**args)
|
2260
|
+
@attribute_condition = args[:attribute_condition] if args.key?(:attribute_condition)
|
2261
|
+
@attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
|
2262
|
+
@description = args[:description] if args.key?(:description)
|
2263
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
2264
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2265
|
+
@name = args[:name] if args.key?(:name)
|
2266
|
+
@oidc = args[:oidc] if args.key?(:oidc)
|
2267
|
+
@saml = args[:saml] if args.key?(:saml)
|
2268
|
+
@state = args[:state] if args.key?(:state)
|
2269
|
+
end
|
2270
|
+
end
|
2271
|
+
|
1893
2272
|
# Represents a collection of external workload identities. You can define IAM
|
1894
2273
|
# policies to grant these identities access to Google Cloud resources.
|
1895
2274
|
class WorkloadIdentityPool
|
@@ -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.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,30 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class GetIamPolicyRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GetPolicyOptions
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleIamAdminV1WorkforcePoolProviderOidc
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleIamAdminV1WorkforcePoolProviderSaml
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
127
151
|
class LintPolicyRequest
|
128
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
153
|
|
@@ -160,6 +184,18 @@ module Google
|
|
160
184
|
include Google::Apis::Core::JsonObjectSupport
|
161
185
|
end
|
162
186
|
|
187
|
+
class ListWorkforcePoolProvidersResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class ListWorkforcePoolsResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
163
199
|
class ListWorkloadIdentityPoolProvidersResponse
|
164
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
201
|
|
@@ -340,6 +376,24 @@ module Google
|
|
340
376
|
include Google::Apis::Core::JsonObjectSupport
|
341
377
|
end
|
342
378
|
|
379
|
+
class UndeleteWorkforcePoolProviderRequest
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class UndeleteWorkforcePoolRequest
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class UndeleteWorkforcePoolSubjectRequest
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
343
397
|
class UndeleteWorkloadIdentityPoolProviderRequest
|
344
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
399
|
|
@@ -358,6 +412,18 @@ module Google
|
|
358
412
|
include Google::Apis::Core::JsonObjectSupport
|
359
413
|
end
|
360
414
|
|
415
|
+
class WorkforcePool
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class WorkforcePoolProvider
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
361
427
|
class WorkloadIdentityPool
|
362
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
429
|
|
@@ -510,6 +576,36 @@ module Google
|
|
510
576
|
end
|
511
577
|
end
|
512
578
|
|
579
|
+
class GetIamPolicyRequest
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :options, as: 'options', class: Google::Apis::IamV1::GetPolicyOptions, decorator: Google::Apis::IamV1::GetPolicyOptions::Representation
|
583
|
+
|
584
|
+
end
|
585
|
+
end
|
586
|
+
|
587
|
+
class GetPolicyOptions
|
588
|
+
# @private
|
589
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
590
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
class GoogleIamAdminV1WorkforcePoolProviderOidc
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :client_id, as: 'clientId'
|
598
|
+
property :issuer_uri, as: 'issuerUri'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class GoogleIamAdminV1WorkforcePoolProviderSaml
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :idp_metadata_xml, as: 'idpMetadataXml'
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
513
609
|
class LintPolicyRequest
|
514
610
|
# @private
|
515
611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -565,6 +661,24 @@ module Google
|
|
565
661
|
end
|
566
662
|
end
|
567
663
|
|
664
|
+
class ListWorkforcePoolProvidersResponse
|
665
|
+
# @private
|
666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
667
|
+
property :next_page_token, as: 'nextPageToken'
|
668
|
+
collection :workforce_pool_providers, as: 'workforcePoolProviders', class: Google::Apis::IamV1::WorkforcePoolProvider, decorator: Google::Apis::IamV1::WorkforcePoolProvider::Representation
|
669
|
+
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
class ListWorkforcePoolsResponse
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
property :next_page_token, as: 'nextPageToken'
|
677
|
+
collection :workforce_pools, as: 'workforcePools', class: Google::Apis::IamV1::WorkforcePool, decorator: Google::Apis::IamV1::WorkforcePool::Representation
|
678
|
+
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
568
682
|
class ListWorkloadIdentityPoolProvidersResponse
|
569
683
|
# @private
|
570
684
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -840,6 +954,24 @@ module Google
|
|
840
954
|
end
|
841
955
|
end
|
842
956
|
|
957
|
+
class UndeleteWorkforcePoolProviderRequest
|
958
|
+
# @private
|
959
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
963
|
+
class UndeleteWorkforcePoolRequest
|
964
|
+
# @private
|
965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
969
|
+
class UndeleteWorkforcePoolSubjectRequest
|
970
|
+
# @private
|
971
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
843
975
|
class UndeleteWorkloadIdentityPoolProviderRequest
|
844
976
|
# @private
|
845
977
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -859,6 +991,36 @@ module Google
|
|
859
991
|
end
|
860
992
|
end
|
861
993
|
|
994
|
+
class WorkforcePool
|
995
|
+
# @private
|
996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
997
|
+
property :description, as: 'description'
|
998
|
+
property :disabled, as: 'disabled'
|
999
|
+
property :display_name, as: 'displayName'
|
1000
|
+
property :name, as: 'name'
|
1001
|
+
property :parent, as: 'parent'
|
1002
|
+
property :session_duration, as: 'sessionDuration'
|
1003
|
+
property :state, as: 'state'
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
class WorkforcePoolProvider
|
1008
|
+
# @private
|
1009
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1010
|
+
property :attribute_condition, as: 'attributeCondition'
|
1011
|
+
hash :attribute_mapping, as: 'attributeMapping'
|
1012
|
+
property :description, as: 'description'
|
1013
|
+
property :disabled, as: 'disabled'
|
1014
|
+
property :display_name, as: 'displayName'
|
1015
|
+
property :name, as: 'name'
|
1016
|
+
property :oidc, as: 'oidc', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidc, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidc::Representation
|
1017
|
+
|
1018
|
+
property :saml, as: 'saml', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderSaml, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderSaml::Representation
|
1019
|
+
|
1020
|
+
property :state, as: 'state'
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
862
1024
|
class WorkloadIdentityPool
|
863
1025
|
# @private
|
864
1026
|
class Representation < Google::Apis::Core::JsonRepresentation
|