toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (containers != null) 'containers': containers!,
      if (encryptionKey != null) 'encryptionKey': encryptionKey!,
      if (executionEnvironment != null)
        'executionEnvironment': executionEnvironment!,
      if (healthCheckDisabled != null)
        'healthCheckDisabled': healthCheckDisabled!,
      if (labels != null) 'labels': labels!,
      if (maxInstanceRequestConcurrency != null)
        'maxInstanceRequestConcurrency': maxInstanceRequestConcurrency!,
      if (nodeSelector != null) 'nodeSelector': nodeSelector!,
      if (revision != null) 'revision': revision!,
      if (scaling != null) 'scaling': scaling!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (sessionAffinity != null) 'sessionAffinity': sessionAffinity!,
      if (timeout != null) 'timeout': timeout!,
      if (volumes != null) 'volumes': volumes!,
      if (vpcAccess != null) 'vpcAccess': vpcAccess!,
    };