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

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

Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket

def bucket() -> ::String
Returns
  • (::String) — Cloud Storage Bucket name.

#bucket=

def bucket=(value) -> ::String
Parameter
  • value (::String) — Cloud Storage Bucket name.
Returns
  • (::String) — Cloud Storage Bucket name.

#mount_options

def mount_options() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".

#mount_options=

def mount_options=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
Returns
  • (::Array<::String>) — A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".

#read_only

def read_only() -> ::Boolean
Returns
  • (::Boolean) — If true, the volume will be mounted as read only for all mounts.

#read_only=

def read_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, the volume will be mounted as read only for all mounts.
Returns
  • (::Boolean) — If true, the volume will be mounted as read only for all mounts.