WorkforcePoolProvider.fromJson constructor
WorkforcePoolProvider.fromJson(
- Map json_
Implementation
WorkforcePoolProvider.fromJson(core.Map json_)
: this(
attributeCondition: json_.containsKey('attributeCondition')
? json_['attributeCondition'] as core.String
: null,
attributeMapping: json_.containsKey('attributeMapping')
? (json_['attributeMapping']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
disabled: json_.containsKey('disabled')
? json_['disabled'] as core.bool
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
expireTime: json_.containsKey('expireTime')
? json_['expireTime'] as core.String
: null,
extraAttributesOauth2Client: json_
.containsKey('extraAttributesOauth2Client')
? GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client
.fromJson(json_['extraAttributesOauth2Client']
as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
oidc: json_.containsKey('oidc')
? GoogleIamAdminV1WorkforcePoolProviderOidc.fromJson(
json_['oidc'] as core.Map<core.String, core.dynamic>)
: null,
saml: json_.containsKey('saml')
? GoogleIamAdminV1WorkforcePoolProviderSaml.fromJson(
json_['saml'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);