ServiceTemplateVolume class

Constructors

ServiceTemplateVolume({Input<ServiceTemplateVolumeCloudSqlInstance?>? cloudSqlInstance, Input<ServiceTemplateVolumeEmptyDir?>? emptyDir, Input<ServiceTemplateVolumeGcs?>? gcs, required Input<String> name, Input<ServiceTemplateVolumeNfs?>? nfs, Input<ServiceTemplateVolumeSecret?>? secret})
Creates a new ServiceTemplateVolume. cloudSqlInstance 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. emptyDir Ephemeral storage used as a shared volume. gcs Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment. name Volume's name. nfs Represents an NFS mount. secret Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
const
ServiceTemplateVolume.fromMap(Map<String, dynamic> map)
factory

Properties

cloudSqlInstance → Input<ServiceTemplateVolumeCloudSqlInstance?>?
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. Structure is documented below.
final
emptyDir → Input<ServiceTemplateVolumeEmptyDir?>?
Ephemeral storage used as a shared volume. Structure is documented below.
final
gcs → Input<ServiceTemplateVolumeGcs?>?
Cloud Storage bucket mounted as a volume using GCSFuse. This feature is only supported in the gen2 execution environment. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
Volume's name.
final
nfs → Input<ServiceTemplateVolumeNfs?>?
Represents an NFS mount. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Input<ServiceTemplateVolumeSecret?>?
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited