BackendServiceConnectionTrackingPolicy.fromJson constructor

BackendServiceConnectionTrackingPolicy.fromJson(
  1. Map json_
)

Implementation

BackendServiceConnectionTrackingPolicy.fromJson(core.Map json_)
    : this(
        connectionPersistenceOnUnhealthyBackends: json_
                .containsKey('connectionPersistenceOnUnhealthyBackends')
            ? json_['connectionPersistenceOnUnhealthyBackends'] as core.String
            : null,
        enableStrongAffinity: json_.containsKey('enableStrongAffinity')
            ? json_['enableStrongAffinity'] as core.bool
            : null,
        idleTimeoutSec: json_.containsKey('idleTimeoutSec')
            ? json_['idleTimeoutSec'] as core.int
            : null,
        trackingMode: json_.containsKey('trackingMode')
            ? json_['trackingMode'] as core.String
            : null,
      );