Cloud Run V2 API - Class Google::Cloud::Run::V2::VolumeMount (v0.19.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::VolumeMount.

VolumeMount describes a mounting of a Volume within a container.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#mount_path

def mount_path() -> ::String
Returns
  • (::String) — Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run

#mount_path=

def mount_path=(value) -> ::String
Parameter
  • value (::String) — Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
Returns
  • (::String) — Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run

#name

def name() -> ::String
Returns
  • (::String) — Required. This must match the Name of a Volume.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. This must match the Name of a Volume.
Returns
  • (::String) — Required. This must match the Name of a Volume.