toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final canIpForward = this.canIpForward;
  final deletionProtection = this.deletionProtection;
  final description = this.description;
  final disks = this.disks;
  final guestAccelerators = this.guestAccelerators;
  final keyRevocationActionType = this.keyRevocationActionType;
  final labels = this.labels;
  final machineType = this.machineType;
  final metadata = this.metadata;
  final minCpuPlatform = this.minCpuPlatform;
  final networkInterfaces = this.networkInterfaces;
  final postKeyRevocationActionType = this.postKeyRevocationActionType;
  final scheduling = this.scheduling;
  final serviceAccounts = this.serviceAccounts;
  final tags = this.tags;
  return {
    'canIpForward': ?canIpForward,
    'deletionProtection': ?deletionProtection,
    'description': ?description,
    'disks': ?disks,
    'guestAccelerators': ?guestAccelerators,
    'keyRevocationActionType': ?keyRevocationActionType,
    'labels': ?labels,
    'machineType': ?machineType,
    'metadata': ?metadata,
    'minCpuPlatform': ?minCpuPlatform,
    'networkInterfaces': ?networkInterfaces,
    'postKeyRevocationActionType': ?postKeyRevocationActionType,
    'scheduling': ?scheduling,
    'serviceAccounts': ?serviceAccounts,
    'tags': ?tags,
  };
}