GoogleCloudAiplatformV1DeployedIndex.fromJson constructor

GoogleCloudAiplatformV1DeployedIndex.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1DeployedIndex.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,
        deployedIndexAuthConfig: json_.containsKey('deployedIndexAuthConfig')
            ? GoogleCloudAiplatformV1DeployedIndexAuthConfig.fromJson(
                json_['deployedIndexAuthConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deploymentGroup: json_.containsKey('deploymentGroup')
            ? json_['deploymentGroup'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        enableAccessLogging: json_.containsKey('enableAccessLogging')
            ? json_['enableAccessLogging'] as core.bool
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        index:
            json_.containsKey('index') ? json_['index'] as core.String : null,
        indexSyncTime: json_.containsKey('indexSyncTime')
            ? json_['indexSyncTime'] as core.String
            : null,
        privateEndpoints: json_.containsKey('privateEndpoints')
            ? GoogleCloudAiplatformV1IndexPrivateEndpoints.fromJson(
                json_['privateEndpoints']
                    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,
      );