Resources class
Machine resources for a version.
Constructors
-
Resources({Input<
double> ? cpu, Input<double> ? diskGb, Input<String> ? kmsKeyReference, Input<double> ? memoryGb, Input<List< ? volumes})Volume> > -
Creates a new Resources.
cpuNumber of CPU cores needed.diskGbDisk size (GB) needed.kmsKeyReferenceThe name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm diskmemoryGbMemory (GB) needed.volumesUser specified volumes.const -
Resources.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cpu
→ Input<
double> ? -
Number of CPU cores needed.
final
-
diskGb
→ Input<
double> ? -
Disk size (GB) needed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyReference
→ Input<
String> ? -
The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
final
-
memoryGb
→ Input<
double> ? -
Memory (GB) needed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
volumes
→ Input<
List< ?Volume> > -
User specified volumes.
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