CloudRunV2ServiceSource class sealed
Exactly one of cloud_sql_instance, empty_dir, gcs, nfs, secret on the template.volumes block of google_cloud_run_v2_service: the provider rejects
none and more than one, so each variant sets one of them.
Pick one with a dot shorthand: .cloudSqlInstance(...).
Constructors
- CloudRunV2ServiceSource.cloudSqlInstance(CloudRunV2ServiceCloudSqlInstance cloudSqlInstance)
-
Sets
cloud_sql_instance.constfactory - CloudRunV2ServiceSource.emptyDir(CloudRunV2ServiceEmptyDir emptyDir)
-
Sets
empty_dir.constfactory - CloudRunV2ServiceSource.gcs(CloudRunV2ServiceGcs gcs)
-
Sets
gcs.constfactory - CloudRunV2ServiceSource.nfs(CloudRunV2ServiceNfs nfs)
-
Sets
nfs.constfactory - CloudRunV2ServiceSource.secret(CloudRunV2ServiceSecret secret)
-
Sets
secret.constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited