ExecutionConfig.fromJson constructor

ExecutionConfig.fromJson(
  1. Map json_
)

Implementation

ExecutionConfig.fromJson(core.Map json_)
    : this(
        idleTtl: json_.containsKey('idleTtl')
            ? json_['idleTtl'] as core.String
            : null,
        kmsKey: json_.containsKey('kmsKey')
            ? json_['kmsKey'] as core.String
            : null,
        networkTags: json_.containsKey('networkTags')
            ? (json_['networkTags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        networkUri: json_.containsKey('networkUri')
            ? json_['networkUri'] as core.String
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        stagingBucket: json_.containsKey('stagingBucket')
            ? json_['stagingBucket'] as core.String
            : null,
        subnetworkUri: json_.containsKey('subnetworkUri')
            ? json_['subnetworkUri'] as core.String
            : null,
        ttl: json_.containsKey('ttl') ? json_['ttl'] as core.String : null,
      );