GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter.fromJson constructor

GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter.fromJson(core.Map json_)
    : this(
        containerSpecGcsPath: json_.containsKey('containerSpecGcsPath')
            ? json_['containerSpecGcsPath'] as core.String
            : null,
        environment: json_.containsKey('environment')
            ? GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment
                .fromJson(json_['environment']
                    as core.Map<core.String, core.dynamic>)
            : null,
        jobName: json_.containsKey('jobName')
            ? json_['jobName'] as core.String
            : null,
        launchOptions: json_.containsKey('launchOptions')
            ? (json_['launchOptions'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        transformNameMappings: json_.containsKey('transformNameMappings')
            ? (json_['transformNameMappings']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        update:
            json_.containsKey('update') ? json_['update'] as core.bool : null,
      );