BackendServiceLocalityLoadBalancingPolicyConfig.fromJson constructor

BackendServiceLocalityLoadBalancingPolicyConfig.fromJson(
  1. Map json_
)

Implementation

BackendServiceLocalityLoadBalancingPolicyConfig.fromJson(core.Map json_)
    : this(
        customPolicy: json_.containsKey('customPolicy')
            ? BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
                .fromJson(json_['customPolicy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        policy: json_.containsKey('policy')
            ? BackendServiceLocalityLoadBalancingPolicyConfigPolicy.fromJson(
                json_['policy'] as core.Map<core.String, core.dynamic>)
            : null,
      );