toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allTrafficOnLatestRevision != null)
        'allTrafficOnLatestRevision': allTrafficOnLatestRevision!,
      if (availableCpu != null) 'availableCpu': availableCpu!,
      if (availableMemory != null) 'availableMemory': availableMemory!,
      if (environmentVariables != null)
        'environmentVariables': environmentVariables!,
      if (ingressSettings != null) 'ingressSettings': ingressSettings!,
      if (maxInstanceCount != null) 'maxInstanceCount': maxInstanceCount!,
      if (maxInstanceRequestConcurrency != null)
        'maxInstanceRequestConcurrency': maxInstanceRequestConcurrency!,
      if (minInstanceCount != null) 'minInstanceCount': minInstanceCount!,
      if (revision != null) 'revision': revision!,
      if (secretEnvironmentVariables != null)
        'secretEnvironmentVariables': secretEnvironmentVariables!,
      if (secretVolumes != null) 'secretVolumes': secretVolumes!,
      if (securityLevel != null) 'securityLevel': securityLevel!,
      if (service != null) 'service': service!,
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!,
      if (uri != null) 'uri': uri!,
      if (vpcConnector != null) 'vpcConnector': vpcConnector!,
      if (vpcConnectorEgressSettings != null)
        'vpcConnectorEgressSettings': vpcConnectorEgressSettings!,
    };