GoogleCloudAiplatformV1PipelineJob.fromJson constructor

GoogleCloudAiplatformV1PipelineJob.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PipelineJob.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        encryptionSpec: json_.containsKey('encryptionSpec')
            ? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
                json_['encryptionSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        error: json_.containsKey('error')
            ? GoogleRpcStatus.fromJson(
                json_['error'] as core.Map<core.String, core.dynamic>)
            : null,
        jobDetail: json_.containsKey('jobDetail')
            ? GoogleCloudAiplatformV1PipelineJobDetail.fromJson(
                json_['jobDetail'] as core.Map<core.String, core.dynamic>)
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        pipelineSpec: json_.containsKey('pipelineSpec')
            ? json_['pipelineSpec'] as core.Map<core.String, core.dynamic>
            : null,
        reservedIpRanges: json_.containsKey('reservedIpRanges')
            ? (json_['reservedIpRanges'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        runtimeConfig: json_.containsKey('runtimeConfig')
            ? GoogleCloudAiplatformV1PipelineJobRuntimeConfig.fromJson(
                json_['runtimeConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        scheduleName: json_.containsKey('scheduleName')
            ? json_['scheduleName'] as core.String
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        templateMetadata: json_.containsKey('templateMetadata')
            ? GoogleCloudAiplatformV1PipelineTemplateMetadata.fromJson(
                json_['templateMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        templateUri: json_.containsKey('templateUri')
            ? json_['templateUri'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );