Class: Google::Cloud::Run::V2::Volume

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/k8s.min.rb

Overview

Volume represents a named volume in a container.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_sql_instance::Google::Cloud::Run::V2::CloudSqlInstance

Returns 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.

Note: The following fields are mutually exclusive: cloud_sql_instance, secret, empty_dir, nfs, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



236
237
238
239
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 236

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#empty_dir::Google::Cloud::Run::V2::EmptyDirVolumeSource

Returns Ephemeral storage used as a shared volume.

Note: The following fields are mutually exclusive: empty_dir, secret, cloud_sql_instance, nfs, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Run::V2::EmptyDirVolumeSource)

    Ephemeral storage used as a shared volume.

    Note: The following fields are mutually exclusive: empty_dir, secret, cloud_sql_instance, nfs, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.



236
237
238
239
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 236

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcs::Google::Cloud::Run::V2::GCSVolumeSource

Returns Persistent storage backed by a Google Cloud Storage bucket.

Note: The following fields are mutually exclusive: gcs, secret, cloud_sql_instance, empty_dir, nfs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Run::V2::GCSVolumeSource)

    Persistent storage backed by a Google Cloud Storage bucket.

    Note: The following fields are mutually exclusive: gcs, secret, cloud_sql_instance, empty_dir, nfs. If a field in that set is populated, all other fields in the set will automatically be cleared.



236
237
238
239
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 236

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. Volume's name.

Returns:

  • (::String)

    Required. Volume's name.



236
237
238
239
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 236

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#nfs::Google::Cloud::Run::V2::NFSVolumeSource

Returns For NFS Voumes, contains the path to the nfs Volume

Note: The following fields are mutually exclusive: nfs, secret, cloud_sql_instance, empty_dir, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Run::V2::NFSVolumeSource)

    For NFS Voumes, contains the path to the nfs Volume

    Note: The following fields are mutually exclusive: nfs, secret, cloud_sql_instance, empty_dir, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.



236
237
238
239
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 236

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#secret::Google::Cloud::Run::V2::SecretVolumeSource

Returns Secret represents a secret that should populate this volume.

Note: The following fields are mutually exclusive: secret, cloud_sql_instance, empty_dir, nfs, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Run::V2::SecretVolumeSource)

    Secret represents a secret that should populate this volume.

    Note: The following fields are mutually exclusive: secret, cloud_sql_instance, empty_dir, nfs, gcs. If a field in that set is populated, all other fields in the set will automatically be cleared.



236
237
238
239
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 236

class Volume
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end