toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accessMode != null) 'accessMode': accessMode!,
if (architecture != null) 'architecture': architecture!,
if (asyncPrimaryDisk != null) 'asyncPrimaryDisk': asyncPrimaryDisk!,
if (asyncSecondaryDisks != null)
'asyncSecondaryDisks': asyncSecondaryDisks!,
if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
if (description != null) 'description': description!,
if (diskEncryptionKey != null) 'diskEncryptionKey': diskEncryptionKey!,
if (enableConfidentialCompute != null)
'enableConfidentialCompute': enableConfidentialCompute!,
if (guestOsFeatures != null) 'guestOsFeatures': guestOsFeatures!,
if (id != null) 'id': id!,
if (kind != null) 'kind': kind!,
if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
if (labels != null) 'labels': labels!,
if (lastAttachTimestamp != null)
'lastAttachTimestamp': lastAttachTimestamp!,
if (lastDetachTimestamp != null)
'lastDetachTimestamp': lastDetachTimestamp!,
if (licenseCodes != null) 'licenseCodes': licenseCodes!,
if (licenses != null) 'licenses': licenses!,
if (locationHint != null) 'locationHint': locationHint!,
if (name != null) 'name': name!,
if (options != null) 'options': options!,
if (params != null) 'params': params!,
if (physicalBlockSizeBytes != null)
'physicalBlockSizeBytes': physicalBlockSizeBytes!,
if (provisionedIops != null) 'provisionedIops': provisionedIops!,
if (provisionedThroughput != null)
'provisionedThroughput': provisionedThroughput!,
if (region != null) 'region': region!,
if (replicaZones != null) 'replicaZones': replicaZones!,
if (resourcePolicies != null) 'resourcePolicies': resourcePolicies!,
if (resourceStatus != null) 'resourceStatus': resourceStatus!,
if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
if (selfLink != null) 'selfLink': selfLink!,
if (sizeGb != null) 'sizeGb': sizeGb!,
if (sourceConsistencyGroupPolicy != null)
'sourceConsistencyGroupPolicy': sourceConsistencyGroupPolicy!,
if (sourceConsistencyGroupPolicyId != null)
'sourceConsistencyGroupPolicyId': sourceConsistencyGroupPolicyId!,
if (sourceDisk != null) 'sourceDisk': sourceDisk!,
if (sourceDiskId != null) 'sourceDiskId': sourceDiskId!,
if (sourceImage != null) 'sourceImage': sourceImage!,
if (sourceImageEncryptionKey != null)
'sourceImageEncryptionKey': sourceImageEncryptionKey!,
if (sourceImageId != null) 'sourceImageId': sourceImageId!,
if (sourceInstantSnapshot != null)
'sourceInstantSnapshot': sourceInstantSnapshot!,
if (sourceInstantSnapshotId != null)
'sourceInstantSnapshotId': sourceInstantSnapshotId!,
if (sourceSnapshot != null) 'sourceSnapshot': sourceSnapshot!,
if (sourceSnapshotEncryptionKey != null)
'sourceSnapshotEncryptionKey': sourceSnapshotEncryptionKey!,
if (sourceSnapshotId != null) 'sourceSnapshotId': sourceSnapshotId!,
if (sourceStorageObject != null)
'sourceStorageObject': sourceStorageObject!,
if (status != null) 'status': status!,
if (storagePool != null) 'storagePool': storagePool!,
if (type != null) 'type': type!,
if (users != null) 'users': users!,
if (zone != null) 'zone': zone!,
};