GoogleCloudAiplatformV1CopyModelRequest.fromJson constructor

GoogleCloudAiplatformV1CopyModelRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1CopyModelRequest.fromJson(core.Map json_)
    : this(
        encryptionSpec: json_.containsKey('encryptionSpec')
            ? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
                json_['encryptionSpec']
                    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,
        sourceModel: json_.containsKey('sourceModel')
            ? json_['sourceModel'] as core.String
            : null,
      );