IPAllocationPolicy.fromJson constructor

IPAllocationPolicy.fromJson(
  1. Map json_
)

Implementation

IPAllocationPolicy.fromJson(core.Map json_)
    : this(
        clusterIpv4CidrBlock: json_.containsKey('clusterIpv4CidrBlock')
            ? json_['clusterIpv4CidrBlock'] as core.String
            : null,
        clusterSecondaryRangeName:
            json_.containsKey('clusterSecondaryRangeName')
                ? json_['clusterSecondaryRangeName'] as core.String
                : null,
        servicesIpv4CidrBlock: json_.containsKey('servicesIpv4CidrBlock')
            ? json_['servicesIpv4CidrBlock'] as core.String
            : null,
        servicesSecondaryRangeName:
            json_.containsKey('servicesSecondaryRangeName')
                ? json_['servicesSecondaryRangeName'] as core.String
                : null,
        useIpAliases: json_.containsKey('useIpAliases')
            ? json_['useIpAliases'] as core.bool
            : null,
      );