GoogleCloudAiplatformV1DeployedModel.fromJson constructor

GoogleCloudAiplatformV1DeployedModel.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1DeployedModel.fromJson(core.Map json_)
    : this(
        automaticResources: json_.containsKey('automaticResources')
            ? GoogleCloudAiplatformV1AutomaticResources.fromJson(
                json_['automaticResources']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dedicatedResources: json_.containsKey('dedicatedResources')
            ? GoogleCloudAiplatformV1DedicatedResources.fromJson(
                json_['dedicatedResources']
                    as core.Map<core.String, core.dynamic>)
            : null,
        disableContainerLogging: json_.containsKey('disableContainerLogging')
            ? json_['disableContainerLogging'] as core.bool
            : null,
        disableExplanations: json_.containsKey('disableExplanations')
            ? json_['disableExplanations'] as core.bool
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        enableAccessLogging: json_.containsKey('enableAccessLogging')
            ? json_['enableAccessLogging'] as core.bool
            : null,
        explanationSpec: json_.containsKey('explanationSpec')
            ? GoogleCloudAiplatformV1ExplanationSpec.fromJson(
                json_['explanationSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        model:
            json_.containsKey('model') ? json_['model'] as core.String : null,
        modelVersionId: json_.containsKey('modelVersionId')
            ? json_['modelVersionId'] as core.String
            : null,
        privateEndpoints: json_.containsKey('privateEndpoints')
            ? GoogleCloudAiplatformV1PrivateEndpoints.fromJson(
                json_['privateEndpoints']
                    as core.Map<core.String, core.dynamic>)
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        sharedResources: json_.containsKey('sharedResources')
            ? json_['sharedResources'] as core.String
            : null,
      );