GoogleIdentityAccesscontextmanagerV1Condition.fromJson constructor

GoogleIdentityAccesscontextmanagerV1Condition.fromJson(
  1. Map json_
)

Implementation

GoogleIdentityAccesscontextmanagerV1Condition.fromJson(core.Map json_)
    : this(
        devicePolicy: json_.containsKey('devicePolicy')
            ? GoogleIdentityAccesscontextmanagerV1DevicePolicy.fromJson(
                json_['devicePolicy'] as core.Map<core.String, core.dynamic>)
            : null,
        ipSubnetworks: json_.containsKey('ipSubnetworks')
            ? (json_['ipSubnetworks'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        members: json_.containsKey('members')
            ? (json_['members'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        negate:
            json_.containsKey('negate') ? json_['negate'] as core.bool : null,
        regions: json_.containsKey('regions')
            ? (json_['regions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        requiredAccessLevels: json_.containsKey('requiredAccessLevels')
            ? (json_['requiredAccessLevels'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        vpcNetworkSources: json_.containsKey('vpcNetworkSources')
            ? (json_['vpcNetworkSources'] as core.List)
                .map((value) =>
                    GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );