toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final architecture = this.architecture;
final archiveSizeBytes = this.archiveSizeBytes;
final creationTimestamp = this.creationTimestamp;
final deprecated = this.deprecated;
final description = this.description;
final diskSizeGb = this.diskSizeGb;
final enableConfidentialCompute = this.enableConfidentialCompute;
final family = this.family;
final guestOsFeatures = this.guestOsFeatures;
final id = this.id;
final imageEncryptionKey = this.imageEncryptionKey;
final kind = this.kind;
final labelFingerprint = this.labelFingerprint;
final labels = this.labels;
final licenseCodes = this.licenseCodes;
final licenses = this.licenses;
final name = this.name;
final params = this.params;
final rawDisk = this.rawDisk;
final satisfiesPzi = this.satisfiesPzi;
final satisfiesPzs = this.satisfiesPzs;
final selfLink = this.selfLink;
final shieldedInstanceInitialState = this.shieldedInstanceInitialState;
final sourceDisk = this.sourceDisk;
final sourceDiskEncryptionKey = this.sourceDiskEncryptionKey;
final sourceDiskId = this.sourceDiskId;
final sourceImage = this.sourceImage;
final sourceImageEncryptionKey = this.sourceImageEncryptionKey;
final sourceImageId = this.sourceImageId;
final sourceSnapshot = this.sourceSnapshot;
final sourceSnapshotEncryptionKey = this.sourceSnapshotEncryptionKey;
final sourceSnapshotId = this.sourceSnapshotId;
final sourceType = this.sourceType;
final status = this.status;
final storageLocations = this.storageLocations;
return {
'architecture': ?architecture,
'archiveSizeBytes': ?archiveSizeBytes,
'creationTimestamp': ?creationTimestamp,
'deprecated': ?deprecated,
'description': ?description,
'diskSizeGb': ?diskSizeGb,
'enableConfidentialCompute': ?enableConfidentialCompute,
'family': ?family,
'guestOsFeatures': ?guestOsFeatures,
'id': ?id,
'imageEncryptionKey': ?imageEncryptionKey,
'kind': ?kind,
'labelFingerprint': ?labelFingerprint,
'labels': ?labels,
'licenseCodes': ?licenseCodes,
'licenses': ?licenses,
'name': ?name,
'params': ?params,
'rawDisk': ?rawDisk,
'satisfiesPzi': ?satisfiesPzi,
'satisfiesPzs': ?satisfiesPzs,
'selfLink': ?selfLink,
'shieldedInstanceInitialState': ?shieldedInstanceInitialState,
'sourceDisk': ?sourceDisk,
'sourceDiskEncryptionKey': ?sourceDiskEncryptionKey,
'sourceDiskId': ?sourceDiskId,
'sourceImage': ?sourceImage,
'sourceImageEncryptionKey': ?sourceImageEncryptionKey,
'sourceImageId': ?sourceImageId,
'sourceSnapshot': ?sourceSnapshot,
'sourceSnapshotEncryptionKey': ?sourceSnapshotEncryptionKey,
'sourceSnapshotId': ?sourceSnapshotId,
'sourceType': ?sourceType,
'status': ?status,
'storageLocations': ?storageLocations,
};
}