GoogleCloudAiplatformV1NasJobSpec.fromJson constructor

GoogleCloudAiplatformV1NasJobSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1NasJobSpec.fromJson(core.Map json_)
    : this(
        multiTrialAlgorithmSpec: json_.containsKey('multiTrialAlgorithmSpec')
            ? GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
                .fromJson(json_['multiTrialAlgorithmSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        resumeNasJobId: json_.containsKey('resumeNasJobId')
            ? json_['resumeNasJobId'] as core.String
            : null,
        searchSpaceSpec: json_.containsKey('searchSpaceSpec')
            ? json_['searchSpaceSpec'] as core.String
            : null,
      );