toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (automaticUpdatePolicy != null)
        'automaticUpdatePolicy': automaticUpdatePolicy!,
      if (availableMemoryMb != null) 'availableMemoryMb': availableMemoryMb!,
      if (buildEnvironmentVariables != null)
        'buildEnvironmentVariables': buildEnvironmentVariables!,
      if (buildId != null) 'buildId': buildId!,
      if (buildName != null) 'buildName': buildName!,
      if (buildServiceAccount != null)
        'buildServiceAccount': buildServiceAccount!,
      if (buildWorkerPool != null) 'buildWorkerPool': buildWorkerPool!,
      if (description != null) 'description': description!,
      if (dockerRegistry != null) 'dockerRegistry': dockerRegistry!,
      if (dockerRepository != null) 'dockerRepository': dockerRepository!,
      if (entryPoint != null) 'entryPoint': entryPoint!,
      if (environmentVariables != null)
        'environmentVariables': environmentVariables!,
      if (eventTrigger != null) 'eventTrigger': eventTrigger!,
      if (httpsTrigger != null) 'httpsTrigger': httpsTrigger!,
      if (ingressSettings != null) 'ingressSettings': ingressSettings!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (labels != null) 'labels': labels!,
      if (maxInstances != null) 'maxInstances': maxInstances!,
      if (minInstances != null) 'minInstances': minInstances!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (onDeployUpdatePolicy != null)
        'onDeployUpdatePolicy': onDeployUpdatePolicy!,
      if (runtime != null) 'runtime': runtime!,
      if (secretEnvironmentVariables != null)
        'secretEnvironmentVariables': secretEnvironmentVariables!,
      if (secretVolumes != null) 'secretVolumes': secretVolumes!,
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      if (sourceArchiveUrl != null) 'sourceArchiveUrl': sourceArchiveUrl!,
      if (sourceRepository != null) 'sourceRepository': sourceRepository!,
      if (sourceToken != null) 'sourceToken': sourceToken!,
      if (sourceUploadUrl != null) 'sourceUploadUrl': sourceUploadUrl!,
      if (status != null) 'status': status!,
      if (timeout != null) 'timeout': timeout!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (versionId != null) 'versionId': versionId!,
      if (vpcConnector != null) 'vpcConnector': vpcConnector!,
      if (vpcConnectorEgressSettings != null)
        'vpcConnectorEgressSettings': vpcConnectorEgressSettings!,
    };