GoogleCloudAiplatformV1UploadModelRequest.fromJson constructor

GoogleCloudAiplatformV1UploadModelRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1UploadModelRequest.fromJson(core.Map json_)
    : this(
        model: json_.containsKey('model')
            ? GoogleCloudAiplatformV1Model.fromJson(
                json_['model'] as core.Map<core.String, core.dynamic>)
            : null,
        modelId: json_.containsKey('modelId')
            ? json_['modelId'] as core.String
            : null,
        parentModel: json_.containsKey('parentModel')
            ? json_['parentModel'] as core.String
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
      );