GkeNodePoolAcceleratorConfig.fromJson constructor

GkeNodePoolAcceleratorConfig.fromJson(
  1. Map json_
)

Implementation

GkeNodePoolAcceleratorConfig.fromJson(core.Map json_)
    : this(
        acceleratorCount: json_.containsKey('acceleratorCount')
            ? json_['acceleratorCount'] as core.String
            : null,
        acceleratorType: json_.containsKey('acceleratorType')
            ? json_['acceleratorType'] as core.String
            : null,
        gpuPartitionSize: json_.containsKey('gpuPartitionSize')
            ? json_['gpuPartitionSize'] as core.String
            : null,
      );