View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2Volume (quiqup_google_api_run v0.28.0)

Volume represents a named volume in a container.

attributes

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.
  • name (type: String.t, default: nil) - Required. Volume's name.
  • secret (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretVolumeSource.t, default: nil) - Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2Volume{
  cloudSqlInstance:
    GoogleApi.Run.V2.Model.GoogleCloudRunV2CloudSqlInstance.t() | nil,
  name: String.t() | nil,
  secret: GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretVolumeSource.t() | nil
}

Link to this section Functions

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

Unwrap a decoded JSON object into its complex fields.