GoogleCloudAiplatformV1IndexEndpoint.fromJson constructor

GoogleCloudAiplatformV1IndexEndpoint.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1IndexEndpoint.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        deployedIndexes: json_.containsKey('deployedIndexes')
            ? (json_['deployedIndexes'] as core.List)
                .map((value) => GoogleCloudAiplatformV1DeployedIndex.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        enablePrivateServiceConnect:
            json_.containsKey('enablePrivateServiceConnect')
                ? json_['enablePrivateServiceConnect'] as core.bool
                : null,
        encryptionSpec: json_.containsKey('encryptionSpec')
            ? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
                json_['encryptionSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : 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,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        privateServiceConnectConfig:
            json_.containsKey('privateServiceConnectConfig')
                ? GoogleCloudAiplatformV1PrivateServiceConnectConfig.fromJson(
                    json_['privateServiceConnectConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        publicEndpointDomainName:
            json_.containsKey('publicEndpointDomainName')
                ? json_['publicEndpointDomainName'] as core.String
                : null,
        publicEndpointEnabled: json_.containsKey('publicEndpointEnabled')
            ? json_['publicEndpointEnabled'] as core.bool
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );