toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (confidentialInstanceConfig != null)
        'confidentialInstanceConfig': confidentialInstanceConfig!,
      if (internalIpOnly != null) 'internalIpOnly': internalIpOnly!,
      if (metadata != null) 'metadata': metadata!,
      if (networkUri != null) 'networkUri': networkUri!,
      if (nodeGroupAffinity != null) 'nodeGroupAffinity': nodeGroupAffinity!,
      if (privateIpv6GoogleAccess != null)
        'privateIpv6GoogleAccess': privateIpv6GoogleAccess!,
      if (reservationAffinity != null)
        'reservationAffinity': reservationAffinity!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (serviceAccountScopes != null)
        'serviceAccountScopes': serviceAccountScopes!,
      if (shieldedInstanceConfig != null)
        'shieldedInstanceConfig': shieldedInstanceConfig!,
      if (subnetworkUri != null) 'subnetworkUri': subnetworkUri!,
      if (tags != null) 'tags': tags!,
      if (zoneUri != null) 'zoneUri': zoneUri!,
    };