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

Preserved state for a given instance.

Attributes

  • disks (type: %{optional(String.t) => GoogleApi.Compute.V1.Model.PreservedStatePreservedDisk.t}, default: nil) - Preserved disks defined for this instance. This map is keyed with the device names of the disks.
  • externalIPs (type: %{optional(String.t) => GoogleApi.Compute.V1.Model.PreservedStatePreservedNetworkIp.t}, default: nil) - Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.
  • internalIPs (type: %{optional(String.t) => GoogleApi.Compute.V1.Model.PreservedStatePreservedNetworkIp.t}, default: nil) - Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.
  • metadata (type: map(), default: nil) - Preserved metadata defined for this instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.PreservedState{
  disks:
    %{
      optional(String.t()) =>
        GoogleApi.Compute.V1.Model.PreservedStatePreservedDisk.t()
    }
    | nil,
  externalIPs:
    %{
      optional(String.t()) =>
        GoogleApi.Compute.V1.Model.PreservedStatePreservedNetworkIp.t()
    }
    | nil,
  internalIPs:
    %{
      optional(String.t()) =>
        GoogleApi.Compute.V1.Model.PreservedStatePreservedNetworkIp.t()
    }
    | nil,
  metadata: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.