CreateNodePoolRequest.fromJson constructor

CreateNodePoolRequest.fromJson(
  1. Map json_
)

Implementation

CreateNodePoolRequest.fromJson(core.Map json_)
    : this(
        clusterId: json_.containsKey('clusterId')
            ? json_['clusterId'] as core.String
            : null,
        nodePool: json_.containsKey('nodePool')
            ? NodePool.fromJson(
                json_['nodePool'] as core.Map<core.String, core.dynamic>)
            : null,
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );