GetIndexResult.fromMap constructor
GetIndexResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetIndexResult.fromMap(Map<String, dynamic> map) {
return GetIndexResult(
createTime: map['createTime'] as String,
deployedIndexes: pulumi.Input.decodeList<GoogleCloudAiplatformV1DeployedIndexRefResponse>(map['deployedIndexes']!, (value) => GoogleCloudAiplatformV1DeployedIndexRefResponse.fromMap((value as Map).cast<String, dynamic>())),
description: map['description'] as String,
displayName: map['displayName'] as String,
encryptionSpec: GoogleCloudAiplatformV1EncryptionSpecResponse.fromMap((map['encryptionSpec']! as Map).cast<String, dynamic>()),
etag: map['etag'] as String,
indexStats: GoogleCloudAiplatformV1IndexStatsResponse.fromMap((map['indexStats']! as Map).cast<String, dynamic>()),
indexUpdateMethod: map['indexUpdateMethod'] as String,
labels: (map['labels'] as Map).cast<String, String>(),
metadata: map['metadata'],
metadataSchemaUri: map['metadataSchemaUri'] as String,
name: map['name'] as String,
updateTime: map['updateTime'] as String,
);
}