GoogleCloudAiplatformV1TrainingPipeline.fromJson constructor

GoogleCloudAiplatformV1TrainingPipeline.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1TrainingPipeline.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,
        inputDataConfig: json_.containsKey('inputDataConfig')
            ? GoogleCloudAiplatformV1InputDataConfig.fromJson(
                json_['inputDataConfig']
                    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,
        modelId: json_.containsKey('modelId')
            ? json_['modelId'] as core.String
            : null,
        modelToUpload: json_.containsKey('modelToUpload')
            ? GoogleCloudAiplatformV1Model.fromJson(
                json_['modelToUpload'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        parentModel: json_.containsKey('parentModel')
            ? json_['parentModel'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        trainingTaskDefinition: json_.containsKey('trainingTaskDefinition')
            ? json_['trainingTaskDefinition'] as core.String
            : null,
        trainingTaskInputs: json_.containsKey('trainingTaskInputs')
            ? json_['trainingTaskInputs']
            : null,
        trainingTaskMetadata: json_.containsKey('trainingTaskMetadata')
            ? json_['trainingTaskMetadata']
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );