View Source GoogleApi.Compute.V1.Model.BackendServiceLocalityLoadBalancingPolicyConfig (google_api_compute v0.56.2)

Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.

Attributes

  • customPolicy (type: GoogleApi.Compute.V1.Model.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.t, default: nil) -
  • policy (type: GoogleApi.Compute.V1.Model.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Compute.V1.Model.BackendServiceLocalityLoadBalancingPolicyConfig{
    customPolicy:
      GoogleApi.Compute.V1.Model.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.t()
      | nil,
    policy:
      GoogleApi.Compute.V1.Model.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.