GoogleCloudPolicytroubleshooterIamV3ConditionContext.fromJson constructor
GoogleCloudPolicytroubleshooterIamV3ConditionContext.fromJson(
- Map json_
Implementation
GoogleCloudPolicytroubleshooterIamV3ConditionContext.fromJson(core.Map json_)
: this(
destination: json_.containsKey('destination')
? GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer.fromJson(
json_['destination'] as core.Map<core.String, core.dynamic>,
)
: null,
effectiveTags: (json_['effectiveTags'] as core.List?)
?.map(
(value) =>
GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
request: json_.containsKey('request')
? GoogleCloudPolicytroubleshooterIamV3ConditionContextRequest.fromJson(
json_['request'] as core.Map<core.String, core.dynamic>,
)
: null,
resource: json_.containsKey('resource')
? GoogleCloudPolicytroubleshooterIamV3ConditionContextResource.fromJson(
json_['resource'] as core.Map<core.String, core.dynamic>,
)
: null,
);