GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime.fromJson constructor

GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime.fromJson(
    core.Map json_)
    : this(
        image:
            json_.containsKey('image') ? json_['image'] as core.String : null,
        javaJars: json_.containsKey('javaJars')
            ? (json_['javaJars'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        properties: json_.containsKey('properties')
            ? (json_['properties'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        pythonPackages: json_.containsKey('pythonPackages')
            ? (json_['pythonPackages'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );