View Source GoogleApi.Run.V1.Model.CSIVolumeSource (google_api_run v0.30.0)

Storage volume source using the Container Storage Interface.

Attributes

  • driver (type: String.t, default: nil) - name of the CSI driver for the requested storage system. Cloud Run supports the following drivers: * gcsfuse.run.googleapis.com : Mount a Cloud Storage Bucket as a volume.
  • readOnly (type: boolean(), default: nil) - If true, mount the volume as read only. Defaults to false.
  • volumeAttributes (type: map(), default: nil) - stores driver specific attributes. For Google Cloud Storage volumes, the following attributes are supported: * bucketName: the name of the Cloud Storage bucket to mount. The Cloud Run Service identity must have access to this bucket.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V1.Model.CSIVolumeSource{
  driver: String.t() | nil,
  readOnly: boolean() | nil,
  volumeAttributes: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.