View Source GoogleApi.AppEngine.V1.Model.Resources (google_api_app_engine v0.39.1)

Machine resources for a version.

Attributes

  • cpu (type: float(), default: nil) - Number of CPU cores needed.
  • diskGb (type: float(), default: nil) - Disk size (GB) needed.
  • kmsKeyReference (type: String.t, default: nil) - The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
  • memoryGb (type: float(), default: nil) - Memory (GB) needed.
  • volumes (type: list(GoogleApi.AppEngine.V1.Model.Volume.t), default: nil) - User specified volumes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AppEngine.V1.Model.Resources{
  cpu: float() | nil,
  diskGb: float() | nil,
  kmsKeyReference: String.t() | nil,
  memoryGb: float() | nil,
  volumes: [GoogleApi.AppEngine.V1.Model.Volume.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.