GoogleApi.NetworkServices.V1.Model.ServiceLbPolicy (google_api_network_services v0.11.0)

View Source

ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.

Attributes

  • autoCapacityDrain (type: GoogleApi.NetworkServices.V1.Model.ServiceLbPolicyAutoCapacityDrain.t, default: nil) - Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service.
  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when this resource was created.
  • description (type: String.t, default: nil) - Optional. A free-text description of the resource. Max length 1024 characters.
  • failoverConfig (type: GoogleApi.NetworkServices.V1.Model.ServiceLbPolicyFailoverConfig.t, default: nil) - Optional. Configuration related to health based failover.
  • labels (type: map(), default: nil) - Optional. Set of label tags associated with the ServiceLbPolicy resource.
  • loadBalancingAlgorithm (type: String.t, default: nil) - Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.
  • name (type: String.t, default: nil) - Identifier. Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when this resource was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.ServiceLbPolicy{
  autoCapacityDrain:
    GoogleApi.NetworkServices.V1.Model.ServiceLbPolicyAutoCapacityDrain.t()
    | nil,
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  failoverConfig:
    GoogleApi.NetworkServices.V1.Model.ServiceLbPolicyFailoverConfig.t() | nil,
  labels: map() | nil,
  loadBalancingAlgorithm: String.t() | nil,
  name: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.