View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2Volume (google_api_run v0.30.0)

Volume represents a named volume in a container.

Attributes

  • cloudSqlInstance (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2CloudSqlInstance.t, default: nil) - For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
  • emptyDir (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2EmptyDirVolumeSource.t, default: nil) - Ephemeral storage used as a shared volume.
  • gcs (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2GCSVolumeSource.t, default: nil) - Persistent storage backed by a Google Cloud Storage bucket.
  • name (type: String.t, default: nil) - Required. Volume's name.
  • nfs (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2NFSVolumeSource.t, default: nil) - For NFS Voumes, contains the path to the nfs Volume
  • secret (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretVolumeSource.t, default: nil) - Secret represents a secret that should populate this volume.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.