google_api_compute v0.2.0 GoogleApi.Compute.V1.Model.TargetInstance View Source

A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for v1.targetInstances ==)

Attributes

  • 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.
  • id (String.t): [Output Only] The unique identifier for the resource. This identifier is defined by the server. Defaults to: null.
  • instance (String.t): A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance Defaults to: null.
  • kind (String.t): [Output Only] The type of the resource. Always compute#targetInstance for target instances. Defaults to: null.
  • 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.
  • natPolicy (String.t): NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. Defaults to: null.

    • Enum - one of [NO_NAT]
  • selfLink (String.t): [Output Only] Server-defined URL for the resource. Defaults to: null.
  • zone (String.t): [Output Only] URL of the zone where the target instance resides. 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.

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.TargetInstance{
  creationTimestamp: any(),
  description: any(),
  id: any(),
  instance: any(),
  kind: any(),
  name: any(),
  natPolicy: any(),
  selfLink: any(),
  zone: 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.