GoogleCloudAiplatformV1PipelineJobRuntimeConfig.fromJson constructor

GoogleCloudAiplatformV1PipelineJobRuntimeConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PipelineJobRuntimeConfig.fromJson(core.Map json_)
    : this(
        failurePolicy: json_.containsKey('failurePolicy')
            ? json_['failurePolicy'] as core.String
            : null,
        gcsOutputDirectory: json_.containsKey('gcsOutputDirectory')
            ? json_['gcsOutputDirectory'] as core.String
            : null,
        inputArtifacts: json_.containsKey('inputArtifacts')
            ? (json_['inputArtifacts'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
                      .fromJson(value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        parameterValues: json_.containsKey('parameterValues')
            ? json_['parameterValues'] as core.Map<core.String, core.dynamic>
            : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAiplatformV1Value.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );