GkeNodePoolConfig.fromJson constructor

GkeNodePoolConfig.fromJson(
  1. Map json_
)

Implementation

GkeNodePoolConfig.fromJson(core.Map json_)
    : this(
        autoscaling: json_.containsKey('autoscaling')
            ? GkeNodePoolAutoscalingConfig.fromJson(
                json_['autoscaling'] as core.Map<core.String, core.dynamic>)
            : null,
        config: json_.containsKey('config')
            ? GkeNodeConfig.fromJson(
                json_['config'] as core.Map<core.String, core.dynamic>)
            : null,
        locations: json_.containsKey('locations')
            ? (json_['locations'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );