View Source GoogleApi.Batch.V1.Model.AgentMetadata (google_api_batch v0.6.4)

VM Agent Metadata.

Attributes

  • creationTime (type: DateTime.t, default: nil) - When the VM agent started. Use agent_startup_time instead.
  • creator (type: String.t, default: nil) - Full name of the entity that created this vm. For MIG, this path is: projects/{project}/regions/{region}/InstanceGroupManagers/{igm} The value is retrieved from the vm metadata key of "created-by".
  • imageVersion (type: String.t, default: nil) - image version for the VM that this agent is installed on.
  • instance (type: String.t, default: nil) - GCP instance name (go/instance-name).
  • instanceId (type: String.t, default: nil) - GCP instance ID (go/instance-id).
  • instancePreemptionNoticeReceived (type: boolean(), default: nil) - If the GCP instance has received preemption notice.
  • machineType (type: String.t, default: nil) - Optional. machine type of the VM
  • osRelease (type: map(), default: nil) - parsed contents of /etc/os-release
  • version (type: String.t, default: nil) - agent binary version running on VM
  • zone (type: String.t, default: nil) - Agent zone.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.AgentMetadata{
  creationTime: DateTime.t() | nil,
  creator: String.t() | nil,
  imageVersion: String.t() | nil,
  instance: String.t() | nil,
  instanceId: String.t() | nil,
  instancePreemptionNoticeReceived: boolean() | nil,
  machineType: String.t() | nil,
  osRelease: map() | nil,
  version: String.t() | nil,
  zone: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.