class Google::Apis::RunV2::GoogleCloudRunV2VolumeMount
VolumeMount describes a mounting of a Volume within a container.
Attributes
mount_path[RW]
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/`. For more information on Cloud SQL volumes, visit cloud.google.com/sql/docs/mysql/connect-run Corresponds to the JSON property `mountPath` @return [String]
name[RW]
Required. This must match the Name of a Volume. Corresponds to the JSON property ‘name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/run_v2/classes.rb, line 1230 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/run_v2/classes.rb, line 1235 def update!(**args) @mount_path = args[:mount_path] if args.key?(:mount_path) @name = args[:name] if args.key?(:name) end