toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': architecture,
    'archiveSizeBytes': archiveSizeBytes,
    'creationTimestamp': creationTimestamp,
    'deprecated': deprecated.toMap(),
    'description': description,
    'diskSizeGb': diskSizeGb,
    'family': family,
    'guestOsFeatures': pulumi.Input.encodeList<GuestOsFeatureResponseComputeV1, Map<String, dynamic>>(guestOsFeatures, (value) => value.toMap()),
    'imageEncryptionKey': imageEncryptionKey.toMap(),
    'kind': kind,
    'labelFingerprint': labelFingerprint,
    'labels': labels,
    'licenseCodes': licenseCodes,
    'licenses': licenses,
    'name': name,
    'rawDisk': rawDisk.toMap(),
    'satisfiesPzs': satisfiesPzs,
    'selfLink': selfLink,
    'shieldedInstanceInitialState': shieldedInstanceInitialState.toMap(),
    'sourceDisk': sourceDisk,
    'sourceDiskEncryptionKey': sourceDiskEncryptionKey.toMap(),
    'sourceDiskId': sourceDiskId,
    'sourceImage': sourceImage,
    'sourceImageEncryptionKey': sourceImageEncryptionKey.toMap(),
    'sourceImageId': sourceImageId,
    'sourceSnapshot': sourceSnapshot,
    'sourceSnapshotEncryptionKey': sourceSnapshotEncryptionKey.toMap(),
    'sourceSnapshotId': sourceSnapshotId,
    'sourceType': sourceType,
    'status': status,
    'storageLocations': storageLocations,
  };
}