IpConfiguration.fromJson constructor

IpConfiguration.fromJson(
  1. Map json_
)

Implementation

IpConfiguration.fromJson(core.Map json_)
    : this(
        allocatedIpRange: json_.containsKey('allocatedIpRange')
            ? json_['allocatedIpRange'] as core.String
            : null,
        authorizedNetworks: json_.containsKey('authorizedNetworks')
            ? (json_['authorizedNetworks'] as core.List)
                .map((value) => AclEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        enablePrivatePathForGoogleCloudServices: json_
                .containsKey('enablePrivatePathForGoogleCloudServices')
            ? json_['enablePrivatePathForGoogleCloudServices'] as core.bool
            : null,
        ipv4Enabled: json_.containsKey('ipv4Enabled')
            ? json_['ipv4Enabled'] as core.bool
            : null,
        privateNetwork: json_.containsKey('privateNetwork')
            ? json_['privateNetwork'] as core.String
            : null,
        pscConfig: json_.containsKey('pscConfig')
            ? PscConfig.fromJson(
                json_['pscConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        requireSsl: json_.containsKey('requireSsl')
            ? json_['requireSsl'] as core.bool
            : null,
        sslMode: json_.containsKey('sslMode')
            ? json_['sslMode'] as core.String
            : null,
      );