google_api_compute v0.3.0 GoogleApi.Compute.V1.Model.BackendService View Source

A BackendService resource. This resource defines a group of backend virtual machines and their serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)

Attributes

  • affinityCookieTtlSec (integer()): Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value for TTL is one day. When the load balancing scheme is INTERNAL, this field is not used. Defaults to: null.
  • backends ([Backend]): The list of backends that serve this BackendService. Defaults to: null.
  • cdnPolicy (BackendServiceCdnPolicy): Cloud CDN configuration for this BackendService. Defaults to: null.
  • connectionDraining (ConnectionDraining): Defaults to: null.
  • creationTimestamp (String.t): [Output Only] Creation timestamp in RFC3339 text format. Defaults to: null.
  • description (String.t): An optional description of this resource. Provide this property when you create the resource. Defaults to: null.
  • enableCDN (boolean()): If true, enable Cloud CDN for this BackendService. When the load balancing scheme is INTERNAL, this field is not used. Defaults to: null.
  • fingerprint (binary()): Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. Defaults to: null.
  • healthChecks ([String.t]): The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required for Compute Engine backend services. A health check must not be specified for App Engine backend and Cloud Function backend. For internal load balancing, a URL to a HealthCheck resource must be specified instead. Defaults to: null.
  • iap (BackendServiceIap): Defaults to: null.
  • id (String.t): [Output Only] The unique identifier for the resource. This identifier is defined by the server. Defaults to: null.
  • kind (String.t): [Output Only] Type of resource. Always compute#backendService for backend services. Defaults to: null.
  • loadBalancingScheme (String.t): Indicates whether the backend service will be used with internal or external load balancing. A backend service created for one type of load balancing cannot be used with the other. Possible values are INTERNAL and EXTERNAL. Defaults to: null.

    • Enum - one of [EXTERNAL, INTERNAL, INVALID_LOAD_BALANCING_SCHEME]
  • name (String.t): Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Defaults to: null.
  • port (integer()): Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. This cannot be used for internal load balancing. Defaults to: null.
  • portName (String.t): Name of backend port. The same name should appear in the instance groups referenced by this service. Required when the load balancing scheme is EXTERNAL. When the load balancing scheme is INTERNAL, this field is not used. Defaults to: null.
  • protocol (String.t): The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. For internal load balancing, the possible values are TCP and UDP, and the default is TCP. Defaults to: null.

    • Enum - one of [HTTP, HTTPS, SSL, TCP, UDP]
  • region (String.t): [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. Defaults to: null.
  • securityPolicy (String.t): [Output Only] The resource URL for the security policy associated with this backend service. Defaults to: null.
  • selfLink (String.t): [Output Only] Server-defined URL for the resource. Defaults to: null.
  • sessionAffinity (String.t): Type of session affinity to use. The default is NONE. When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. When the protocol is UDP, this field is not used. Defaults to: null.

    • Enum - one of [CLIENT_IP, CLIENT_IP_PORT_PROTO, CLIENT_IP_PROTO, GENERATED_COOKIE, NONE]
  • timeoutSec (integer()): How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Compute.V1.Model.BackendService{
  affinityCookieTtlSec: any(),
  backends: [GoogleApi.Compute.V1.Model.Backend.t()],
  cdnPolicy: GoogleApi.Compute.V1.Model.BackendServiceCdnPolicy.t(),
  connectionDraining: GoogleApi.Compute.V1.Model.ConnectionDraining.t(),
  creationTimestamp: any(),
  description: any(),
  enableCDN: any(),
  fingerprint: any(),
  healthChecks: [any()],
  iap: GoogleApi.Compute.V1.Model.BackendServiceIap.t(),
  id: any(),
  kind: any(),
  loadBalancingScheme: any(),
  name: any(),
  port: any(),
  portName: any(),
  protocol: any(),
  region: any(),
  securityPolicy: any(),
  selfLink: any(),
  sessionAffinity: any(),
  timeoutSec: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.