toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (forwardedPorts != null) 'forwardedPorts': forwardedPorts!,
      if (instanceIpMode != null) 'instanceIpMode': instanceIpMode!,
      if (instanceTag != null) 'instanceTag': instanceTag!,
      if (name != null) 'name': name!,
      if (sessionAffinity != null) 'sessionAffinity': sessionAffinity!,
      if (subnetworkName != null) 'subnetworkName': subnetworkName!,
    };