toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'chainName': ?chainName,
    'creationTimestamp': ?creationTimestamp,
    'deletionPolicy': ?deletionPolicy,
    'description': ?description,
    'diskSizeGb': ?diskSizeGb,
    'effectiveLabels': ?effectiveLabels,
    'guestFlush': ?guestFlush,
    'labelFingerprint': ?labelFingerprint,
    'labels': ?labels,
    'licenses': ?licenses,
    'name': ?name,
    'params': ?pulumi.Input.mapOptionalInputValue<SnapshotParams, Map<String, dynamic>>(params, (value) => value.toMap()),
    'project': ?project,
    'pulumiLabels': ?pulumiLabels,
    'selfLink': ?selfLink,
    'snapshotEncryptionKey': ?pulumi.Input.mapOptionalInputValue<SnapshotSnapshotEncryptionKey, Map<String, dynamic>>(snapshotEncryptionKey, (value) => value.toMap()),
    'snapshotId': ?snapshotId,
    'snapshotType': ?snapshotType,
    'sourceDisk': ?sourceDisk,
    'sourceDiskEncryptionKey': ?pulumi.Input.mapOptionalInputValue<SnapshotSourceDiskEncryptionKey, Map<String, dynamic>>(sourceDiskEncryptionKey, (value) => value.toMap()),
    'sourceInstantSnapshot': ?sourceInstantSnapshot,
    'storageBytes': ?storageBytes,
    'storageLocations': ?storageLocations,
    'zone': ?zone,
  };
}