GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime.fromJson constructor

GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime.fromJson(
    core.Map json_)
    : this(
        imageVersion: json_.containsKey('imageVersion')
            ? json_['imageVersion'] as core.String
            : null,
        javaLibraries: json_.containsKey('javaLibraries')
            ? (json_['javaLibraries'] 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,
      );