GoogleCloudAiplatformV1FeatureOnlineStore.fromJson constructor

GoogleCloudAiplatformV1FeatureOnlineStore.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1FeatureOnlineStore.fromJson(core.Map json_)
    : this(
        bigtable: json_.containsKey('bigtable')
            ? GoogleCloudAiplatformV1FeatureOnlineStoreBigtable.fromJson(
                json_['bigtable'] as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dedicatedServingEndpoint: json_
                .containsKey('dedicatedServingEndpoint')
            ? GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint
                .fromJson(json_['dedicatedServingEndpoint']
                    as core.Map<core.String, core.dynamic>)
            : 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,
        optimized: json_.containsKey('optimized')
            ? GoogleCloudAiplatformV1FeatureOnlineStoreOptimized.fromJson(
                json_['optimized'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );