Featurestore.fromJson constructor
Featurestore.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Featurestore.fromJson(Map<String, dynamic> json) {
return Featurestore(
name: json['name'] ?? '',
createTime: decodeCustom(json['createTime'], protobuf.Timestamp.fromJson),
updateTime: decodeCustom(json['updateTime'], protobuf.Timestamp.fromJson),
etag: json['etag'] ?? '',
labels: decodeMap(json['labels']) ?? {},
onlineServingConfig: decode(
json['onlineServingConfig'],
Featurestore_OnlineServingConfig.fromJson,
),
state:
decodeEnum(json['state'], Featurestore_State.fromJson) ??
Featurestore_State.$default,
onlineStorageTtlDays: json['onlineStorageTtlDays'] ?? 0,
encryptionSpec: decode(json['encryptionSpec'], EncryptionSpec.fromJson),
satisfiesPzs: json['satisfiesPzs'] ?? false,
satisfiesPzi: json['satisfiesPzi'] ?? false,
);
}