toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appEngineVersion != null) 'appEngineVersion': appEngineVersion!,
      if (cloudFunction != null) 'cloudFunction': cloudFunction!,
      if (cloudRunRevision != null) 'cloudRunRevision': cloudRunRevision!,
      if (cloudSqlInstance != null) 'cloudSqlInstance': cloudSqlInstance!,
      if (forwardingRule != null) 'forwardingRule': forwardingRule!,
      if (forwardingRuleTarget != null)
        'forwardingRuleTarget': forwardingRuleTarget!,
      if (gkeMasterCluster != null) 'gkeMasterCluster': gkeMasterCluster!,
      if (instance != null) 'instance': instance!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (loadBalancerId != null) 'loadBalancerId': loadBalancerId!,
      if (loadBalancerType != null) 'loadBalancerType': loadBalancerType!,
      if (network != null) 'network': network!,
      if (networkType != null) 'networkType': networkType!,
      if (port != null) 'port': port!,
      if (projectId != null) 'projectId': projectId!,
    };